Skip to content

Commit

Permalink
Database add $createdAt $updatedAt
Browse files Browse the repository at this point in the history
  • Loading branch information
fogelito committed Sep 5, 2024
1 parent fd0950e commit f8a3a3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Migration/Destinations/Appwrite.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ protected function createDatabase(Database $resource): bool
'name' => $resource->getDatabaseName(),
'enabled' => true,
'search' => implode(' ', [$resource->getId(), $resource->getDatabaseName()]),
'$createdAt' => $resource->getCreatedAt(),
'$updatedAt' => $resource->getUpdatedAt(),
]));

$resource->setInternalId($database->getInternalId());
Expand Down

0 comments on commit f8a3a3b

Please sign in to comment.