Sha256: 2a0280a4903e71802817ddc90d74140af0c0b147b495a244ac8346d453b83e60

Contents?: true

Size: 1.57 KB

Versions: 13

Compression:

Stored size: 1.57 KB

Contents

# 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.
#
# This file is the source Rails uses to define your schema when running `rails
# db:schema:load`. When creating a new database, `rails db:schema:load` tends to
# be faster and is potentially less error prone than running all of your
# migrations from scratch. Old migrations may fail to apply correctly if those
# migrations use external dependencies or application code.
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2015_07_14_202319) do

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

  create_table "authors", force: :cascade do |t|
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.string "name"
  end

  create_table "comments", force: :cascade do |t|
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.integer "post_id"
    t.integer "author_id"
    t.integer "likes", default: 0, null: false
  end

  create_table "posts", force: :cascade do |t|
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.string "title"
    t.integer "author_id"
    t.integer "status", default: 0, null: false
    t.integer "likes", default: 0, null: false
    t.integer "category"
    t.datetime "published_at"
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
active_reporter-0.7.1 spec/dummy/db/schema.rb
active_reporter-0.6.5 spec/dummy/db/schema.rb
active_reporter-0.6.4 spec/dummy/db/schema.rb
active_reporter-0.6.3 spec/dummy/db/schema.rb
active_reporter-0.6.2 spec/dummy/db/schema.rb
active_reporter-0.6.1 spec/dummy/db/schema.rb
active_reporter-0.6.0 spec/dummy/db/schema.rb
active_reporter-0.5.13 spec/dummy/db/schema.rb
active_reporter-0.5.12 spec/dummy/db/schema.rb
active_reporter-0.5.11 spec/dummy/db/schema.rb
active_reporter-0.5.10 spec/dummy/db/schema.rb
active_reporter-0.5.9 spec/dummy/db/schema.rb
active_reporter-0.5.8 spec/dummy/db/schema.rb