sharedlists/db/migrate/20120312184452_create_users.rb
2021-12-18 11:39:41 +01:00

15 lines
254 B
Ruby

class CreateUsers < ActiveRecord::Migration
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