table for doemal

This commit is contained in:
phyusin
2018-04-06 16:44:13 +06:30
parent 4ddb83b035
commit 5acc063f80
2 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
class CreateOrderReservations < ActiveRecord::Migration[5.1]
def change
create_table :order_reservations do |t|
create_table :order_reservations, :id => false do |t|
t.string :order_reservation_id, :limit => 16, :primary_key => true
t.string :order_reservation_type, :null => false
t.string :customer_id, :null => false