Sha256: f25d3cd1bd93eaefce66bb12a9c8e69d444e2d2f2d00cf0bacf20f3771edce43

Contents?: true

Size: 1.53 KB

Versions: 7

Compression:

Stored size: 1.53 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 => 20120920161127) do

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

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

  create_table "posts", :force => true do |t|
    t.integer  "category_id"
    t.integer  "language_id"
    t.string   "title"
    t.text     "content"
    t.datetime "created_at",  :null => false
    t.datetime "updated_at",  :null => false
  end

  add_index "posts", ["category_id"], :name => "index_posts_on_category_id"
  add_index "posts", ["language_id"], :name => "index_posts_on_language_id"

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
simple_resource-0.6.1 spec/dummy/db/schema.rb
simple_resource-0.6.0 spec/dummy/db/schema.rb
simple_resource-0.5.0 spec/dummy/db/schema.rb
simple_resource-0.4.0 spec/dummy/db/schema.rb
simple_resource-0.3.0 spec/dummy/db/schema.rb
simple_resource-0.2.0 spec/dummy/db/schema.rb
simple_resource-0.1.0 spec/dummy/db/schema.rb