🐛 Fix executions pruning and UTC storage (#1959)

*  Add logging for pruning errors

*  Reformat pruning date to UTC string

*  Reformat workflow deletion date to UTC

*  Enforce UTC datetimes for MySQL

*  Enforce UTC datetimes for Postgres

*  Revert "Reformat workflow deletion date to UTC"

This reverts commit ca9628bc6d2b7d5786e45e8000086a3126b880ae.
This commit is contained in:
Iván Ovejero
2021-07-23 21:40:53 +02:00
committed by GitHub
parent 2a99a77b43
commit f29950ee81
3 changed files with 14 additions and 5 deletions

View File

@@ -89,6 +89,7 @@ export async function init(): Promise<IDatabaseCollections> {
migrations: mysqlMigrations,
migrationsRun: true,
migrationsTableName: `${entityPrefix}migrations`,
timezone: 'Z', // set UTC as default
};
break;