Sha256: 7e6cc2c490791a60685366a4b440548cbd4e31e7c1f2921f3c7e42b581f4617e

Contents?: true

Size: 1.51 KB

Versions: 6

Compression:

Stored size: 1.51 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 `bin/rails
# db:schema:load`. When creating a new database, `bin/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_07_14_104736) do

  # These are extensions that must be enabled in order to support this database
  enable_extension "plpgsql"

  create_table "location_labels", force: :cascade do |t|
    t.bigint "location_id", null: false
    t.string "title", null: false
    t.datetime "created_at", precision: 6, null: false
    t.datetime "updated_at", precision: 6, null: false
    t.index ["location_id"], name: "index_location_labels_on_location_id"
  end

  create_table "locations", force: :cascade do |t|
    t.decimal "latitude", precision: 10, scale: 8, null: false
    t.decimal "longitude", precision: 11, scale: 8, null: false
    t.datetime "created_at", precision: 6, null: false
    t.datetime "updated_at", precision: 6, null: false
  end

  add_foreign_key "location_labels", "locations"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
infinum_json_api_setup-0.0.8 spec/dummy/db/schema.rb
infinum_json_api_setup-0.0.7 spec/dummy/db/schema.rb
infinum_json_api_setup-0.0.6 spec/dummy/db/schema.rb
infinum_json_api_setup-0.0.5 spec/dummy/db/schema.rb
infinum_json_api_setup-0.0.4 spec/dummy/db/schema.rb
infinum_json_api_setup-0.0.3 spec/dummy/db/schema.rb