Files
sx-fc/db/migrate/20170403135121_create_customers.rb
2017-04-11 13:51:09 +08:00

17 lines
388 B
Ruby

class CreateCustomers < ActiveRecord::Migration[5.0]
def change
create_table :customers do |t|
t.string :name, :null => false
t.string :company
t.string :contact_no
t.string :email
t.date :date_of_birth
t.string :membership_id
t.string :membership_type
t.string :membership_authentication_code
t.timestamps
end
end
end