test/dummy/db/schema.rb in cardboard_cms-0.2.2 vs test/dummy/db/schema.rb in cardboard_cms-0.3.1
- old
+ new
@@ -9,11 +9,11 @@
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20130417134832) do
+ActiveRecord::Schema.define(version: 20140312180204) do
create_table "admin_users", force: true do |t|
t.string "email", default: "", null: false
t.string "encrypted_password", default: "", null: false
t.string "reset_password_token"
@@ -53,24 +53,20 @@
add_index "cardboard_page_parts", ["identifier"], name: "index_cardboard_page_parts_on_identifier"
add_index "cardboard_page_parts", ["page_id"], name: "index_cardboard_page_parts_on_page_id"
create_table "cardboard_pages", force: true do |t|
t.string "title"
- t.string "path"
- t.string "slug"
- t.text "slugs_backup"
t.integer "position"
t.text "meta_seo"
- t.boolean "in_menu", default: true
+ t.boolean "in_menu", default: true
t.string "identifier"
t.integer "template_id"
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "cardboard_pages", ["identifier"], name: "index_cardboard_pages_on_identifier", unique: true
- add_index "cardboard_pages", ["path", "slug"], name: "index_cardboard_pages_on_path_and_slug", unique: true
create_table "cardboard_settings", force: true do |t|
t.string "name"
t.text "value"
t.text "default_value"
@@ -81,12 +77,29 @@
create_table "cardboard_templates", force: true do |t|
t.string "name"
t.text "fields"
t.string "identifier"
+ t.boolean "is_page"
+ t.string "controller_action"
t.datetime "created_at"
t.datetime "updated_at"
end
+
+ add_index "cardboard_templates", ["identifier"], name: "index_cardboard_templates_on_identifier", unique: true
+
+ create_table "cardboard_urls", force: true do |t|
+ t.string "slug"
+ t.string "path"
+ t.text "slugs_backup"
+ t.text "meta_tags"
+ t.integer "urlable_id"
+ t.string "urlable_type"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ add_index "cardboard_urls", ["path", "slug"], name: "index_cardboard_urls_on_path_and_slug", unique: true
create_table "pianos", force: true do |t|
t.string "name"
t.string "image"
t.datetime "created_at"