Sha256: c4c5c7e08e314c121d1ed700704b665863da376aa284edc42c9c5e2a5cd6563f

Contents?: true

Size: 1.88 KB

Versions: 8

Compression:

Stored size: 1.88 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: 2021_03_26_140855) do

  create_table "isle", force: :cascade do |t|
    t.string "name"
    t.binary "map"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "locations", force: :cascade do |t|
    t.string "coordinates"
    t.integer "island_id"
    t.datetime "created_at", precision: 6, null: false
    t.datetime "updated_at", precision: 6, null: false
    t.index ["island_id"], name: "index_locations_on_island_id"
  end

  create_table "references", force: :cascade do |t|
    t.datetime "created_at", precision: 6, null: false
    t.datetime "updated_at", precision: 6, null: false
  end

  create_table "trees", force: :cascade do |t|
    t.string "name"
    t.integer "owner_id"
    t.integer "cutter_id"
    t.integer "island_id"
    t.datetime "created_at"
    t.datetime "updated_at"
    t.integer "age"
    t.index ["cutter_id"], name: "index_trees_on_cutter_id"
    t.index ["island_id"], name: "index_trees_on_island_id"
    t.index ["owner_id"], name: "index_trees_on_owner_id"
  end

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

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
forest_liana-6.3.3 spec/dummy/db/schema.rb
forest_liana-6.3.2 spec/dummy/db/schema.rb
forest_liana-6.3.1 spec/dummy/db/schema.rb
forest_liana-6.3.0 spec/dummy/db/schema.rb
forest_liana-6.2.3 spec/dummy/db/schema.rb
forest_liana-6.2.2 spec/dummy/db/schema.rb
forest_liana-6.2.1 spec/dummy/db/schema.rb
forest_liana-6.2.0 spec/dummy/db/schema.rb