Skip to content

Commit f4a449b

Browse files
updated sql with the internal keys and sqlite with the new internal attributes
1 parent 731fea0 commit f4a449b

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/Database/Adapter/SQL.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1910,6 +1910,8 @@ protected function getAttributeProjection(array $selections, string $prefix): st
19101910
'$permissions',
19111911
'$createdAt',
19121912
'$updatedAt',
1913+
'$createdBy',
1914+
'$updatedBy'
19131915
];
19141916

19151917
$selections = \array_diff($selections, [...$internalKeys, '$collection']);

src/Database/Adapter/SQLite.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,6 +1038,8 @@ protected function getSQLIndex(string $collection, string $id, string $type, arr
10381038
'$id' => ID::custom('_uid'),
10391039
'$createdAt' => '_createdAt',
10401040
'$updatedAt' => '_updatedAt',
1041+
'$createdBy' => '_createdBy',
1042+
'$updatedBy' => '_updatedBy',
10411043
default => $attribute
10421044
}, $attributes);
10431045

0 commit comments

Comments
 (0)