Skip to content

Commit 51c9b78

Browse files
committed
Add UNSIGNED
1 parent 302d51a commit 51c9b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/Adapter/MariaDB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public function createCollection(string $name, array $attributes = [], array $in
185185

186186
$permissions = "
187187
CREATE TABLE {$this->getSQLTable($id . '_perms')} (
188-
_id BIGINT NOT NULL AUTO_INCREMENT,
188+
_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
189189
_type VARCHAR(12) NOT NULL,
190190
_permission VARCHAR(255) NOT NULL,
191191
_document VARCHAR(255) NOT NULL,

0 commit comments

Comments
 (0)