Files
libr-2/db/migrate/20150722145422_create_users.rb
T
2015-07-23 08:56:50 +08:00

13 lines
224 B
Ruby

class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :email
t.string :name
t.string :sex
t.string :avatar
t.timestamps null: false
end
end
end