metamaps--metamaps/db/migrate/20120920013446_create_users.rb

17 lines
375 B
Ruby
Raw Normal View History

2012-09-23 02:39:12 +00:00
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :name
t.string :email
t.string :code, :limit => 8
t.string :joinedwithcode, :limit => 8
2012-09-23 02:39:12 +00:00
t.string :crypted_password
t.string :password_salt
t.string :persistence_token
t.string :perishable_token
t.timestamps
end
end
end