tap/db/migrate/20141123143707_create_users.rb

14 lines
255 B
Ruby
Raw Normal View History

2014-11-06 14:46:59 +01:00
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :name
2014-11-23 21:12:31 +01:00
t.string :last_name
t.integer :balance
t.string :nickname
t.string :password_digest
2014-11-06 14:46:59 +01:00
t.timestamps
end
end
end