Skip to content

Commit effba5a

Browse files
committed
Revert "Merge branch 'fix-mongo-perms'"
This reverts commit b93a891, reversing changes made to 1c768ad.
1 parent 7e84398 commit effba5a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/Database/Database.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ class Database
251251
],
252252
[
253253
'$id' => '$tenant',
254-
'type' => self::VAR_ID,
254+
'type' => self::VAR_INTEGER,
255+
//'type' => self::VAR_ID, // Inconsistency with other VAR_ID since this is an INT
255256
'size' => 0,
256257
'required' => false,
257258
'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_ID,
56-
'size' => 0,
55+
'type' => Database::VAR_INTEGER, // ? VAR_ID
56+
'size' => 8,
5757
'required' => false,
5858
'default' => null,
59-
'signed' => true,
59+
'signed' => false,
6060
'array' => false,
6161
'filters' => [],
6262
],

0 commit comments

Comments
 (0)