1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

Fix and so they are datetime instead of string

This commit is contained in:
Steven Nguyen 2022-09-08 22:18:36 +00:00
parent 5a7655ce06
commit 256f83b7ea

View file

@ -1557,7 +1557,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/indexes')
$oldAttributes[] = [
'key' => '$id',
'type' => 'string',
'type' => Database::VAR_STRING,
'status' => 'available',
'required' => true,
'array' => false,
@ -1567,7 +1567,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/indexes')
$oldAttributes[] = [
'key' => '$createdAt',
'type' => 'string',
'type' => Database::VAR_DATETIME,
'status' => 'available',
'signed' => false,
'required' => false,
@ -1578,7 +1578,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/indexes')
$oldAttributes[] = [
'key' => '$updatedAt',
'type' => 'string',
'type' => Database::VAR_DATETIME,
'status' => 'available',
'signed' => false,
'required' => false,