# 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: 20161102202058) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" enable_extension "uuid-ossp" create_table "push_type_assets", id: :uuid, default: -> { "uuid_generate_v4()" }, force: :cascade do |t| t.string "file_uid" t.string "file_name" t.integer "file_size" t.string "file_ext" t.string "mime_type" t.string "description" t.uuid "uploader_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.datetime "deleted_at" end create_table "push_type_node_hierarchies", id: false, force: :cascade do |t| t.uuid "ancestor_id", null: false t.uuid "descendant_id", null: false t.integer "generations", null: false t.index ["ancestor_id", "descendant_id", "generations"], name: "node_anc_desc_idx", unique: true, using: :btree t.index ["descendant_id"], name: "node_desc_idx", using: :btree end create_table "push_type_nodes", id: :uuid, default: -> { "uuid_generate_v4()" }, force: :cascade do |t| t.string "type" t.string "title" t.string "slug" t.jsonb "field_store", default: {}, null: false t.uuid "parent_id" t.integer "sort_order" t.integer "status" t.datetime "published_at" t.datetime "published_to" t.uuid "creator_id" t.uuid "updater_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.datetime "deleted_at" end create_table "push_type_users", id: :uuid, default: -> { "uuid_generate_v4()" }, force: :cascade do |t| t.string "name" t.string "email" t.jsonb "field_store", default: {}, null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false end end