(important)migrateion files changed

This commit is contained in:
Yan
2017-06-07 18:47:50 +06:30
parent be7d448c30
commit f746c18238
38 changed files with 40 additions and 43 deletions

View File

@@ -1,4 +1,4 @@
class CreateOrders < ActiveRecord::Migration[5.0]
class CreateOrders < ActiveRecord::Migration[5.1]
def change
create_table :orders, :id => false do |t|
t.string :order_id, :limit => 16, :primary_key => true #custom foreign_key to prevent conflict during sync