Sha256: 39e0eda7c66e2ca8b9570135699868256145bfb79e67106bd59a96605a787241

Contents?: true

Size: 1.61 KB

Versions: 8

Compression:

Stored size: 1.61 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: 20140803171534) 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.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.datetime "created_at"
    t.datetime "updated_at"
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
polygallery-0.0.8 test/dummy/db/schema.rb
polygallery-0.0.7 test/dummy/db/schema.rb
polygallery-0.0.6 test/dummy/db/schema.rb
polygallery-0.0.5 test/dummy/db/schema.rb
polygallery-0.0.4 test/dummy/db/schema.rb
polygallery-0.0.3 test/dummy/db/schema.rb
polygallery-0.0.2 test/dummy/db/schema.rb
polygallery-0.0.1 test/dummy/db/schema.rb