Sha256: 6c73b0cd5eb39d2f314932e36e5a5ff24fbdc04a16f750e605e82c3991b22929

Contents?: true

Size: 1.36 KB

Versions: 27

Compression:

Stored size: 1.36 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: 20_200_603_172_347) do
  create_table 'people', force: :cascade do |t|
    t.text 'first_name', null: false
    t.text 'last_name', null: false
    t.datetime 'date_of_birth'
    t.datetime 'created_at', precision: 6, null: false
    t.datetime 'updated_at', precision: 6, null: false
  end

  create_table 'posts', force: :cascade do |t|
    t.integer 'person_id', null: false
    t.text 'title', null: false
    t.text 'body', null: false
    t.datetime 'created_at', precision: 6, null: false
    t.datetime 'updated_at', precision: 6, null: false
    t.index ['person_id'], name: 'index_posts_on_person_id'
  end

  add_foreign_key 'posts', 'people'
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
sober_swag-0.8.0 example/db/schema.rb
sober_swag-0.7.0 example/db/schema.rb
sober_swag-0.6.0 example/db/schema.rb
sober_swag-0.5.0 example/db/schema.rb
sober_swag-0.4.0 example/db/schema.rb
sober_swag-0.3.0 example/db/schema.rb
sober_swag-0.2.0 example/db/schema.rb