menu, table,rooms, orders structure
This commit is contained in:
15
db/migrate/20170403135121_create_customers.rb
Normal file
15
db/migrate/20170403135121_create_customers.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user