item groups now have order - start page is now item group 1 (configurable in globals)

This commit is contained in:
Senad Uka
2015-04-21 06:39:30 +02:00
parent ecbe58c626
commit c9949c444a
17 changed files with 126 additions and 12 deletions

View File

@@ -0,0 +1,13 @@
class CreateItemInGroups < ActiveRecord::Migration
def change
create_table :item_in_groups do |t|
t.integer :item_id
t.integer :item_group_id
t.integer :position
t.timestamps null: false
end
drop_table "item_item_groups"
end
end