add item set with scaffold

This commit is contained in:
Yan
2017-08-11 17:41:10 +06:30
parent be71d187b0
commit 03a6208a76
26 changed files with 476 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
class CreateItemSets < ActiveRecord::Migration[5.1]
def change
create_table :item_sets do |t|
t.string :name
t.integer :min_selectable_qty
t.integer :max_selectable_qty
t.timestamps
end
end
end