settings controllers

This commit is contained in:
Min Zeya Phyo
2017-04-18 13:01:05 +06:30
parent dbad900cd4
commit a717791a7c
49 changed files with 7233 additions and 6080 deletions

View File

@@ -4,6 +4,9 @@ class CreateMenuItems < ActiveRecord::Migration[5.0]
t.string :item_code, :null => false
t.string :name, :null => false
t.string :alt_name
t.string :image_path
t.text :description
t.string :information
t.string :type, :null => false, :default => "SimpleMenuItem"
t.references :menu_category, foreign_key: true
t.references :menu_item, foreign_key: true