[*] исправлены миграции под автообновление даты

This commit is contained in:
rsgrinko committed 2023-07-07 14:36:54 +03:00
1 parent a422976535
commit 657bc5ef77
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ final class Threads extends AbstractMigration
->addColumn('attempts', 'integer', ['default' => 0])
->addColumn('attempts_limit', 'integer', ['default' => 1])
->addColumn('date_created', 'datetime', ['default' => 'CURRENT_TIMESTAMP'])
->addColumn('date_updated', 'datetime', ['null' => true, 'default' => null])
->addColumn('date_updated', 'datetime', ['null' => true, 'default' => null, 'update' => 'CURRENT_TIMESTAMP'])
->addColumn('class', 'string', ['limit' => 255, 'default' => null])
->addColumn('method', 'string', ['limit' => 255, 'default' => null])
->addColumn('params', 'text', ['default' => null])