Fix migration for audit

`time` attribute should be a DateTime type rather than int.
This commit is contained in:
Steven Nguyen
2022-09-29 19:15:54 +00:00
parent 912933d4c8
commit c97fea37c0
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -1,3 +1,7 @@
# Version 1.0.2
## Bugs
- Fixed migration for audit by migrating the `time` attribute [4038](https://github.com/appwrite/appwrite/pull/4038)
# Version 1.0.1
## Bugs
- Fixed migration for abuse by migrating the `time` attribute [3839](https://github.com/appwrite/appwrite/pull/3839)
+1
View File
@@ -504,6 +504,7 @@ class V15 extends Migration
$this->createPermissionsColumn($id);
$this->migrateDateTimeAttribute($id, '_createdAt');
$this->migrateDateTimeAttribute($id, '_updatedAt');
$this->migrateDateTimeAttribute($id, 'time');
break;
case 'buckets':