Sha256: 62041253023a869cfe8f07dc499a7938cf85d8e47d2a6cdce2f2c4dee3582ff2

Contents?: true

Size: 1.79 KB

Versions: 2

Compression:

Stored size: 1.79 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: 2018_05_09_101020) do

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

  create_table "wiki_page_revisions", force: :cascade do |t|
    t.integer "user_id"
    t.integer "wiki_page_id"
    t.string "title"
    t.text "body"
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.index ["user_id"], name: "index_wiki_page_revisions_on_user_id"
    t.index ["wiki_page_id"], name: "index_wiki_page_revisions_on_wiki_page_id"
  end

  create_table "wiki_pages", force: :cascade do |t|
    t.integer "wiki_space_id"
    t.string "path", null: false
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.index ["path"], name: "index_wiki_pages_on_path"
    t.index ["wiki_space_id"], name: "index_wiki_pages_on_wiki_space_id"
  end

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

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yaw-0.0.2 spec/dummy/db/schema.rb
yaw-0.0.1 spec/dummy/db/schema.rb