Sha256: 3f344af2d024f9df1472ec3632925628106c3928ab278401f5421bbfba1de499
Contents?: true
Size: 421 Bytes
Versions: 1
Compression:
Stored size: 421 Bytes
Contents
class CreateNoCmsMenuItems < ActiveRecord::Migration def change create_table :no_cms_menus_menu_items do |t| t.belongs_to :menu, index: true t.timestamps end create_table :no_cms_menus_menu_item_translations do |t| t.belongs_to :no_cms_menus_menu_item, index: { name: 'no_cms_menu_item_on_translations' } t.string :locale t.string :name t.timestamps end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nocms-menus-1.0.0 | db/migrate/20140325130348_create_no_cms_menu_items.rb |