Loading db/migrate/20110930110209_remove_devise_specific_columns_from_users.rb 0 → 100644 +7 −0 Original line number Diff line number Diff line class RemoveDeviseSpecificColumnsFromUsers < ActiveRecord::Migration def change rename_column :users, :encrypted_password, :password_digest end end db/migrate/20120425121612_change__conference_day_start_type.rb +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ class ChangeConferenceDayStartType < ActiveRecord::Migration # At least PostgreSQL is not willing to change the type from time to integer # without telling it how to do the conversion. To stay database independent, # we create a new column, remove the old one and then rename the new column # to the old columns name in the hope of staying database independent. # to the old columns name add_column :conferences, :new_day_start, :integer, default: 8, null: false remove_column :conferences, :day_start rename_column :conferences, :new_day_start, :day_start Loading db/schema.rb +1 −1 Original line number Diff line number Diff line Loading @@ -389,7 +389,7 @@ ActiveRecord::Schema.define(version: 20160512102627) do create_table "users", force: :cascade do |t| t.string "email", default: "", null: false t.string "encrypted_password", default: "", null: false t.string "password_digest", default: "", null: false t.string "reset_password_token" t.datetime "remember_created_at" t.string "remember_token" Loading Loading
db/migrate/20110930110209_remove_devise_specific_columns_from_users.rb 0 → 100644 +7 −0 Original line number Diff line number Diff line class RemoveDeviseSpecificColumnsFromUsers < ActiveRecord::Migration def change rename_column :users, :encrypted_password, :password_digest end end
db/migrate/20120425121612_change__conference_day_start_type.rb +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ class ChangeConferenceDayStartType < ActiveRecord::Migration # At least PostgreSQL is not willing to change the type from time to integer # without telling it how to do the conversion. To stay database independent, # we create a new column, remove the old one and then rename the new column # to the old columns name in the hope of staying database independent. # to the old columns name add_column :conferences, :new_day_start, :integer, default: 8, null: false remove_column :conferences, :day_start rename_column :conferences, :new_day_start, :day_start Loading
db/schema.rb +1 −1 Original line number Diff line number Diff line Loading @@ -389,7 +389,7 @@ ActiveRecord::Schema.define(version: 20160512102627) do create_table "users", force: :cascade do |t| t.string "email", default: "", null: false t.string "encrypted_password", default: "", null: false t.string "password_digest", default: "", null: false t.string "reset_password_token" t.datetime "remember_created_at" t.string "remember_token" Loading