.dassie/db/schema.rb in hyrax-3.2.0 vs .dassie/db/schema.rb in hyrax-3.3.0
- old
+ new
@@ -8,14 +8,15 @@
# 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: 2020_08_21_212903) do
+ActiveRecord::Schema.define(version: 2021_11_30_181150) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
+ enable_extension "uuid-ossp"
create_table "bookmarks", id: :serial, force: :cascade do |t|
t.integer "user_id", null: false
t.string "user_type"
t.string "document_id"
@@ -137,10 +138,16 @@
t.boolean "brandable", default: true, null: false
t.string "badge_color", default: "#663333"
t.index ["machine_id"], name: "index_hyrax_collection_types_on_machine_id", unique: true
end
+ create_table "hyrax_default_administrative_set", force: :cascade do |t|
+ t.string "default_admin_set_id", null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
create_table "hyrax_features", force: :cascade do |t|
t.string "key", null: false
t.boolean "enabled", default: false, null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
@@ -221,9 +228,21 @@
t.bigint "seq", default: 0
t.binary "rand"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["namespace"], name: "index_minter_states_on_namespace", unique: true
+ end
+
+ create_table "orm_resources", id: :uuid, default: -> { "uuid_generate_v4()" }, force: :cascade do |t|
+ t.jsonb "metadata", default: {}, null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.string "internal_resource"
+ t.integer "lock_version"
+ t.index ["internal_resource"], name: "index_orm_resources_on_internal_resource"
+ t.index ["metadata"], name: "index_orm_resources_on_metadata", using: :gin
+ t.index ["metadata"], name: "index_orm_resources_on_metadata_jsonb_path_ops", opclass: :jsonb_path_ops, using: :gin
+ t.index ["updated_at"], name: "index_orm_resources_on_updated_at"
end
create_table "permission_template_accesses", force: :cascade do |t|
t.bigint "permission_template_id"
t.string "agent_type"