mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-19 14:15:21 +02:00
- Added SQL script to set default value for "logCleanupCron" in "user_temp" table. - Updated existing records with NULL "logCleanupCron" to the new default value. - Updated user schema to reflect the default value for "logCleanupCron". - Enhanced log cleanup functionality with error handling and logging.
3 lines
165 B
SQL
3 lines
165 B
SQL
ALTER TABLE "user_temp" ALTER COLUMN "logCleanupCron" SET DEFAULT '0 0 * * *';
|
|
|
|
UPDATE "user_temp" SET "logCleanupCron" = '0 0 * * *' WHERE "logCleanupCron" IS NULL; |