# This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative source for your # database schema. If you need to create the application database on another # system, you should be using db:schema:load, not running all the migrations # 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: 2019_04_12_001854) do create_table "cmor_cms_content_blocks", force: :cascade do |t| t.text "body" t.integer "page_id" t.integer "content_box_id" t.datetime "created_at" t.datetime "updated_at" t.index ["content_box_id"], name: "index_cmor_cms_content_blocks_on_content_box_id" t.index ["page_id"], name: "index_cmor_cms_content_blocks_on_page_id" end create_table "cmor_cms_content_boxes", force: :cascade do |t| t.string "name" t.datetime "created_at" t.datetime "updated_at" end create_table "cmor_cms_navigation_items", force: :cascade do |t| t.string "name" t.string "url" t.string "key" t.string "options" t.text "properties" t.integer "navigation_id" t.integer "page_id" t.integer "parent_id" t.integer "children_count", default: 0, null: false t.integer "lft" t.integer "rgt" t.integer "depth" t.string "slug" t.datetime "created_at" t.datetime "updated_at" t.index ["navigation_id"], name: "index_cmor_cms_navigation_items_on_navigation_id" t.index ["parent_id"], name: "index_cmor_cms_navigation_items_on_parent_id" end create_table "cmor_cms_navigations", force: :cascade do |t| t.string "locale" t.string "name" t.string "slug" t.datetime "created_at" t.datetime "updated_at" end create_table "cmor_cms_pages", force: :cascade do |t| t.string "basename" t.string "pathname" t.string "title" t.text "meta_description" t.text "body" t.string "layout" t.string "locale" t.string "format" t.string "handler" t.datetime "created_at" t.datetime "updated_at" end create_table "cmor_cms_partials", force: :cascade do |t| t.string "basename" t.string "pathname" t.text "body" t.string "layout" t.string "locale" t.string "format" t.string "handler" t.datetime "created_at" t.datetime "updated_at" end create_table "cmor_cms_templates", force: :cascade do |t| t.string "basename" t.string "pathname" t.text "body" t.string "locale" t.string "format" t.string "handler" t.datetime "created_at" t.datetime "updated_at" end end