menu -> submenu backend
This commit is contained in:
10
front-api/db/migrate/20150324044314_create_menu_sub_items.rb
Normal file
10
front-api/db/migrate/20150324044314_create_menu_sub_items.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateMenuSubItems < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :menu_sub_items do |t|
|
||||
t.string :title
|
||||
t.string :url
|
||||
t.integer :ordinal
|
||||
t.integer :menu_item_id
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user