Fix collections allowing multiple occurrences of the same user (#38636)
This commit is contained in:
1 parent
7b343c9567
commit
06a8379dce
3 files changed
+44
-2
No files matched your search
+2
-2
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.1].define(version: 2026_03_26_112324) do
|
||||
ActiveRecord::Schema[8.1].define(version: 2026_04_10_083500) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_catalog.plpgsql"
|
||||
|
||||
@@ -370,7 +370,7 @@ ActiveRecord::Schema[8.1].define(version: 2026_03_26_112324) do
|
||||
t.integer "state", default: 0, null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "uri"
|
||||
t.index ["account_id"], name: "index_collection_items_on_account_id"
|
||||
t.index ["account_id", "collection_id"], name: "index_collection_items_on_account_id_and_collection_id", unique: true
|
||||
t.index ["approval_uri"], name: "index_collection_items_on_approval_uri", unique: true, where: "(approval_uri IS NOT NULL)"
|
||||
t.index ["collection_id"], name: "index_collection_items_on_collection_id"
|
||||
t.index ["uri"], name: "index_collection_items_on_uri", unique: true, where: "(uri IS NOT NULL)"
|
||||
|
||||
Reference in new issue
Block a user