Sha256: c0be38f6cf2d0e829b05e569182ca24d99b24cd7db7d67a26db82e494d462406

Contents?: true

Size: 1.28 KB

Versions: 3

Compression:

Stored size: 1.28 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: 2019_05_23_235430) do

  create_table "containers", force: :cascade do |t|
    t.integer "sort_position", null: false
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
  end

  create_table "items", force: :cascade do |t|
    t.integer "container_id", null: false
    t.integer "sort_position", null: false
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.index ["container_id", "sort_position"], name: "index_items_on_container_id_and_sort_position", unique: true
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sortability-1.1.1 spec/dummy/db/schema.rb
sortability-1.1.0 spec/dummy/db/schema.rb
sortability-1.0.0 spec/dummy/db/schema.rb