13 lines
255 B
Ruby
13 lines
255 B
Ruby
class CreateUsers < ActiveRecord::Migration
|
|
def change
|
|
create_table :users do |t|
|
|
t.string :name
|
|
t.string :last_name
|
|
t.integer :balance
|
|
t.string :nickname
|
|
t.string :password_digest
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|