Skip to content

Commit dbf2f7a

Browse files
committed
Reapply "Merge branch 'fix-mongo-perms'"
This reverts commit effba5a.
1 parent 375fcb0 commit dbf2f7a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/Database/Database.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,7 @@ class Database
251251
],
252252
[
253253
'$id' => '$tenant',
254-
'type' => self::VAR_INTEGER,
255-
//'type' => self::VAR_ID, // Inconsistency with other VAR_ID since this is an INT
254+
'type' => self::VAR_ID,
256255
'size' => 0,
257256
'required' => false,
258257
'default' => null,

src/Database/Validator/Structure.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ class Structure extends Validator
5252
],
5353
[
5454
'$id' => '$tenant',
55-
'type' => Database::VAR_INTEGER, // ? VAR_ID
56-
'size' => 8,
55+
'type' => Database::VAR_ID,
56+
'size' => 0,
5757
'required' => false,
5858
'default' => null,
59-
'signed' => false,
59+
'signed' => true,
6060
'array' => false,
6161
'filters' => [],
6262
],

0 commit comments

Comments
 (0)