create productCommission

This commit is contained in:
Zin Lin Phyo
2017-08-22 11:08:49 +06:30
parent 1af178fecb
commit 74c2955ef0
26 changed files with 1187 additions and 795 deletions

View File

@@ -0,0 +1,12 @@
class CreateProductCommissions < ActiveRecord::Migration[5.1]
def change
create_table :product_commissions do |t|
t.string :product_code
t.integer :commission_id
t.integer :qty
t.string :sale_id
t.string :sale_item_id
t.timestamps
end
end
end