sharedlists/db/migrate/20120312184452_create_users.rb

16 lines
254 B
Ruby
Raw Normal View History

2021-12-18 11:39:41 +01:00
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