Skip to content

Commit ebede51

Browse files
removed unique for uid in pg adapter
1 parent 630329f commit ebede51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Database/Adapter/Postgres.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,7 @@ public function createCollection(string $name, array $attributes = [], array $in
237237
\"_updatedAt\" TIMESTAMP(3) DEFAULT NULL,
238238
_permissions TEXT DEFAULT NULL,
239239
" . \implode(' ', $attributeStrings) . "
240-
PRIMARY KEY (_id),
241-
UNIQUE(_uid)
240+
PRIMARY KEY (_id)
242241
);
243242
";
244243

0 commit comments

Comments
 (0)