Skip to content

Commit

Permalink
Two migrations merged into one
Browse files Browse the repository at this point in the history
  • Loading branch information
SidharthBansal committed Aug 1, 2018
1 parent 44ada75 commit 38e0d09
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
5 changes: 0 additions & 5 deletions db/migrate/20180731124028_add_password_checker_to_rusers.rb

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class AddPasswordCheckerToRusersAndRemovePasswordCheckerFromUsers < ActiveRecord::Migration[5.2]
def change
remove_column :users, :password_checker, :integer
add_column :rusers, :password_checker, :integer, default: 0
end
end
2 changes: 1 addition & 1 deletion db/schema.rb.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2018_07_31_170712) do
ActiveRecord::Schema.define(version: 2018_08_01_144533) do

create_table "answer_selections", force: true do |t|
t.integer "user_id"
Expand Down

0 comments on commit 38e0d09

Please sign in to comment.