Sha256: 1b8e5891c9ab739654a6ac7d95a95fbf6f94eec750929152f421bee02eac94ba

Contents?: true

Size: 1.43 KB

Versions: 8

Compression:

Stored size: 1.43 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.
#
# 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: 2020_02_27_150548) do

  create_table "blogs", force: :cascade do |t|
    t.string "title"
    t.text "body"
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.integer "portfolio_id"
    t.index ["portfolio_id"], name: "index_blogs_on_portfolio_id"
  end

  create_table "portfolios", force: :cascade do |t|
    t.string "name"
    t.integer "user_id"
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.index ["user_id"], name: "index_portfolios_on_user_id"
  end

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

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
power_api-2.1.1 spec/dummy/db/schema.rb
power_api-2.1.0 spec/dummy/db/schema.rb
power_api-2.0.2 spec/dummy/db/schema.rb
power_api-2.0.1 spec/dummy/db/schema.rb
power_api-2.0.0 spec/dummy/db/schema.rb
power_api-1.0.0 spec/dummy/db/schema.rb
power_api-0.2.0 spec/dummy/db/schema.rb
power_api-0.1.0 spec/dummy/db/schema.rb