Files
sx-fc/db/migrate/20170822034139_create_product_commissions.rb
2017-08-22 11:08:49 +06:30

13 lines
291 B
Ruby

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