Commit af83bf9d by ivan Lan

Add column remark to product and series and snapshot

parent cbf6bb70
......@@ -20,6 +20,7 @@ class CreateShotengaiProductsAndOrders < ActiveRecord::Migration[5.1]
# Single Table Inheritance
t.string :type
t.json :meta
t.json :remark
t.references :manager, polymorphic: true, index: true
t.timestamps
......@@ -37,6 +38,7 @@ class CreateShotengaiProductsAndOrders < ActiveRecord::Migration[5.1]
# Single Table Inheritance
t.string :type
t.json :meta
t.json :remark
t.references :shotengai_product, foreign_key: true
t.timestamps
......@@ -85,6 +87,7 @@ class CreateShotengaiProductsAndOrders < ActiveRecord::Migration[5.1]
# Single Table Inheritance
t.string :type
t.json :meta
t.json :remark
t.references :shotengai_series, foreign_key: true
t.references :shotengai_order, foreign_key: true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment