15 lines
259 B
Ruby
15 lines
259 B
Ruby
class CreateUsers < ActiveRecord::Migration[4.2]
|
|
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
|