Sha256: f82a58f88f06ff0341afd42756dac24e7267c17968e98384876f6c44ba547571

Contents?: true

Size: 1.8 KB

Versions: 3

Compression:

Stored size: 1.8 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 to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20120925140600) do

  create_table "articles", :force => true do |t|
    t.string   "title"
    t.string   "body"
    t.string   "path"
    t.integer  "image_id"
    t.datetime "created_at", :null => false
    t.datetime "updated_at", :null => false
  end

  create_table "file_managers", :force => true do |t|
    t.string   "entity_type"
    t.string   "entity_id"
    t.string   "file"
    t.datetime "created_at",  :null => false
    t.datetime "updated_at",  :null => false
  end

  add_index "file_managers", ["entity_type", "entity_id"], :name => "index_file_managers_on_entity_type_and_entity_id"
  add_index "file_managers", ["file"], :name => "index_file_managers_on_file"

  create_table "galleries", :force => true do |t|
    t.string   "name"
    t.string   "description"
    t.datetime "created_at",  :null => false
    t.datetime "updated_at",  :null => false
  end

  create_table "images", :force => true do |t|
    t.string   "path"
    t.string   "name"
    t.datetime "created_at", :null => false
    t.datetime "updated_at", :null => false
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
file_manager_engine-0.0.3 spec/dummy/db/schema.rb
file_manager_engine-0.0.2 spec/dummy/db/schema.rb
file_manager_engine-0.0.1 spec/dummy/db/schema.rb