Sha256: 202cae93561b5a5f75cda2a82297a5e9e9dcb387908f590c3037983029584e2b

Contents?: true

Size: 1.76 KB

Versions: 2

Compression:

Stored size: 1.76 KB

Contents

# encoding: UTF-8
# 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: 20150701180956) do

  # These are extensions that must be enabled in order to support this database
  enable_extension "plpgsql"

  create_table "events", force: true do |t|
    t.string   "title"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "polygallery_galleries", force: true do |t|
    t.string   "title",            default: "gallery"
    t.integer  "default_photo_id"
    t.integer  "galleryable_id"
    t.string   "galleryable_type"
    t.string   "class_name"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "polygallery_photos", force: true do |t|
    t.integer  "gallery_id"
    t.string   "photo_file_name"
    t.string   "photo_content_type"
    t.integer  "photo_file_size"
    t.datetime "photo_updated_at"
    t.string   "title"
    t.text     "caption"
    t.string   "class_name"
    t.datetime "created_at"
    t.datetime "updated_at"
    t.string   "gallery_title"
    t.integer  "galleryable_id"
    t.string   "galleryable_type"
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
polygallery-0.2.3 test/dummy/db/schema.rb
polygallery-0.2.1 test/dummy/db/schema.rb