update and fix

This commit is contained in:
Yan
2017-08-21 16:50:24 +06:30
parent ce7d15c2d4
commit 2b0dcd4ab9
12 changed files with 24 additions and 14 deletions

View File

@@ -7,6 +7,7 @@ class CreateMenuItems < ActiveRecord::Migration[5.1]
t.string :image_path
t.text :description
t.string :information
t.string :unit
t.string :type, :null => false, :default => "SimpleMenuItem"
t.references :menu_category, foreign_key: true
t.json :item_attributes