2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# File 'lib/generators/active_admin/cms/install/templates/migrations/1_install_aacms.rb', line 2
def self.up
create_table :content do |t|
t.integer "page_id"
t.text "text"
t.datetime "created_at"
t.datetime "updated_at"
t.string "content_type_class"
t.string "key"
t.string "image"
t.string "file"
end
add_index "content", ["page_id", "key"], :name => "index_content_on_page_id_and_key"
create_table :recipes do |t|
t.string "title"
t.string "description"
t.datetime "created_at"
t.datetime "updated_at"
t.string "type"
end
end
|