update schema and migration

This commit is contained in:
pixeldesu 2015-06-19 15:09:02 +02:00
parent c1faf41305
commit 355f3979ce
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
class AddTranslatorToUsers < ActiveRecord::Migration class AddTranslatorToUsers < ActiveRecord::Migration
def change def change
add_column :users, :translator, :boolean add_column :users, :translator, :boolean, default: :false
end end
end end

View file

@ -295,7 +295,7 @@ ActiveRecord::Schema.define(version: 20150619123121) do
t.string "socket_key", default: "" t.string "socket_key", default: ""
t.datetime "socket_key_expiry", default: '0001-01-01 00:00:00' t.datetime "socket_key_expiry", default: '0001-01-01 00:00:00'
t.string "locale" t.string "locale"
t.boolean "translator" t.boolean "translator", default: false
end end
add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree