menu manager - rename wiki_tabs table if existspull/41/head
parent
862bce8db2
commit
9cc7eafc15
@ -0,0 +1,16 @@ |
||||
class CreateWikiMenuItems < ActiveRecord::Migration |
||||
def self.up |
||||
create_table :wiki_menu_items do |t| |
||||
t.column :name, :string |
||||
t.column :title, :string |
||||
t.column :parent_id, :integer |
||||
t.column :options, :text |
||||
|
||||
t.belongs_to :wiki |
||||
end |
||||
end |
||||
|
||||
def self.down |
||||
puts "You cannot safely undo this migration!" |
||||
end |
||||
end |
Loading…
Reference in new issue