sharedlists/db/migrate/20120312184452_create_users.rb

16 lines
259 B
Ruby
Raw Permalink Normal View History

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