20171220141141_add_meta_fields_to_users.rb 215 B

1234567
  1. class AddMetaFieldsToUsers < ActiveRecord::Migration[5.1]
  2. def change
  3. add_column :users, :gender, :integer, default: 0
  4. add_column :users, :phone, :string
  5. add_column :users, :birth_date, :date
  6. end
  7. end