commssions

This commit is contained in:
Zin Lin Phyo
2017-08-21 16:11:51 +06:30
parent e4e2c306a4
commit 618f5f3b7c
24 changed files with 421 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
class CreateCommissions < ActiveRecord::Migration[5.1]
def change
create_table :commissions do |t|
t.integer :product_id, null: false
t.integer :amount
t.string :commission_type
t.boolean :is_active
t.timestamps
end
end
end