2021-12-18 23:52:05 +01:00
|
|
|
class CreateUsers < ActiveRecord::Migration[4.2]
|
2021-12-18 11:39:41 +01:00
|
|
|
def self.up
|
|
|
|
create_table :users do |t|
|
|
|
|
t.string :email
|
|
|
|
t.string :password_hash
|
|
|
|
t.string :password_salt
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
drop_table :users
|
|
|
|
end
|
|
|
|
end
|