Sha256: ca8755b280775361cf3724310a930cc22af75a8f780d6d465f791f5751c9c76e

Contents?: true

Size: 1.99 KB

Versions: 1

Compression:

Stored size: 1.99 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_03_08_044214) do

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

  create_table "mock_groups", force: :cascade do |t|
    t.text "scim_uid"
    t.text "display_name"
    t.bigint "parent_id"
    t.index ["parent_id"], name: "index_mock_groups_on_parent_id"
  end

  create_table "mock_groups_users", id: false, force: :cascade do |t|
    t.bigint "mock_group_id", null: false
    t.uuid "mock_user_id", null: false
    t.index ["mock_group_id"], name: "index_mock_groups_users_on_mock_group_id"
    t.index ["mock_user_id"], name: "index_mock_groups_users_on_mock_user_id"
  end

  create_table "mock_users", primary_key: "primary_key", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
    t.datetime "created_at", precision: 6, null: false
    t.datetime "updated_at", precision: 6, null: false
    t.text "scim_uid"
    t.text "username"
    t.text "password"
    t.text "first_name"
    t.text "last_name"
    t.text "work_email_address"
    t.text "home_email_address"
    t.text "work_phone_number"
    t.text "organization"
    t.text "department"
  end

  add_foreign_key "mock_groups_users", "mock_groups"
  add_foreign_key "mock_groups_users", "mock_users", primary_key: "primary_key"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scimitar-1.7.0 spec/apps/dummy/db/schema.rb