|
| 1 | +# This file is auto-generated from the current state of the database. Instead |
| 2 | +# of editing this file, please use the migrations feature of Active Record to |
| 3 | +# incrementally modify your database, and then regenerate this schema definition. |
| 4 | +# |
| 5 | +# Note that this schema.rb definition is the authoritative source for your |
| 6 | +# database schema. If you need to create the application database on another |
| 7 | +# system, you should be using db:schema:load, not running all the migrations |
| 8 | +# from scratch. The latter is a flawed and unsustainable approach (the more migrations |
| 9 | +# you'll amass, the slower it'll run and the greater likelihood for issues). |
| 10 | +# |
| 11 | +# It's strongly recommended that you check this file into your version control system. |
| 12 | + |
| 13 | +ActiveRecord::Schema.define(version: 20171016111510) do |
| 14 | + |
| 15 | + # These are extensions that must be enabled in order to support this database |
| 16 | + enable_extension "plpgsql" |
| 17 | + |
| 18 | + create_table "books", force: :cascade do |t| |
| 19 | + t.string "author", null: false |
| 20 | + t.string "title", null: false |
| 21 | + t.string "isbn", null: false |
| 22 | + t.datetime "created_at", null: false |
| 23 | + t.datetime "updated_at", null: false |
| 24 | + t.index ["author"], name: "index_books_on_author" |
| 25 | + t.index ["isbn"], name: "index_books_on_isbn" |
| 26 | + t.index ["title"], name: "index_books_on_title" |
| 27 | + end |
| 28 | + |
| 29 | +end |
0 commit comments