Remove Db schema changes

This commit is contained in:
Matej Bačo
2026-03-24 13:55:54 +01:00
parent 094cd180b5
commit a06aaaf9ca
2 changed files with 18 additions and 1 deletions
+12 -1
View File
@@ -594,7 +594,7 @@ $platformCollections = [
'filters' => [],
],
[
'$id' => ID::custom('identifier'),
'$id' => ID::custom('key'), // Identifier on API
'type' => Database::VAR_STRING,
'format' => '',
'size' => Database::LENGTH_KEY,
@@ -604,6 +604,17 @@ $platformCollections = [
'array' => false,
'filters' => [],
],
[
'$id' => ID::custom('store'), // Unused at the moment
'type' => Database::VAR_STRING,
'format' => '',
'size' => 256,
'signed' => true,
'required' => false,
'default' => null,
'array' => false,
'filters' => [],
],
[
'$id' => ID::custom('hostname'),
'type' => Database::VAR_STRING,
@@ -79,6 +79,12 @@ class XList extends Base
throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage());
}
foreach ($queries as $query) {
if ($query->getAttribute() === 'identifier') {
$query->setAttribute('key');
}
}
$queries[] = Query::equal('projectInternalId', [$project->getSequence()]);
$cursor = Query::getCursorQueries($queries, false);