Files
sx-fc/db/migrate/20170403135121_create_customers.rb
2017-04-03 21:26:22 +06:30

16 lines
358 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.string :membership_id
t.string :membership_type
t.string :membership_authentication_code
t.timestamps
end
end
end