updated seed for customer
This commit is contained in:
@@ -4,7 +4,7 @@ class CreateCustomers < ActiveRecord::Migration[5.1]
|
||||
t.string :customer_id, :limit => 16, :primary_key => true #custom foreign_key to prevent conflict during sync
|
||||
t.string :name, :null => false
|
||||
t.string :company
|
||||
t.string :contact_no
|
||||
t.string :contact_no, :unique => true
|
||||
t.string :email
|
||||
t.date :date_of_birth
|
||||
t.string :membership_id
|
||||
|
||||
@@ -9,7 +9,7 @@ class CreateShops < ActiveRecord::Migration[5.1]
|
||||
t.string :state, :null => false
|
||||
t.string :country, :null => false
|
||||
t.string :phone_no, :null => false
|
||||
t.string :reserviation_no, :null => false
|
||||
t.string :reservation_no, :null => false
|
||||
t.string :license, :null => false
|
||||
t.datetime :activated_at, :null => false
|
||||
t.text :license_data, :null => false
|
||||
|
||||
Reference in New Issue
Block a user