fix gitea workflow path and runner label
Build docker and publish / build (20.15.1) (push) Failing after 8m1s

This commit is contained in:
2026-03-04 03:03:51 -08:00
parent 0c544268e5
commit 6c370485d1
14 changed files with 197 additions and 35 deletions
@@ -0,0 +1,47 @@
INSERT INTO `system` (`category`, `key`, `value`, `type`, `desc`, `created_at`, `updated_at`)
SELECT 'verify_code',
'ExpireTime',
COALESCE(MAX(CASE WHEN `key` = 'VerifyCodeExpireTime' THEN `value` END), '900'),
'int',
'Verify code expire time (legacy)',
NOW(3),
NOW(3)
FROM `system`
WHERE `category` = 'verify_code'
ON DUPLICATE KEY UPDATE
`value` = VALUES(`value`),
`type` = VALUES(`type`),
`desc` = VALUES(`desc`),
`updated_at` = VALUES(`updated_at`);
INSERT INTO `system` (`category`, `key`, `value`, `type`, `desc`, `created_at`, `updated_at`)
SELECT 'verify_code',
'Limit',
COALESCE(MAX(CASE WHEN `key` = 'VerifyCodeLimit' THEN `value` END), '15'),
'int',
'Verify code limit (legacy)',
NOW(3),
NOW(3)
FROM `system`
WHERE `category` = 'verify_code'
ON DUPLICATE KEY UPDATE
`value` = VALUES(`value`),
`type` = VALUES(`type`),
`desc` = VALUES(`desc`),
`updated_at` = VALUES(`updated_at`);
INSERT INTO `system` (`category`, `key`, `value`, `type`, `desc`, `created_at`, `updated_at`)
SELECT 'verify_code',
'Interval',
COALESCE(MAX(CASE WHEN `key` = 'VerifyCodeInterval' THEN `value` END), '60'),
'int',
'Verify code interval (legacy)',
NOW(3),
NOW(3)
FROM `system`
WHERE `category` = 'verify_code'
ON DUPLICATE KEY UPDATE
`value` = VALUES(`value`),
`type` = VALUES(`type`),
`desc` = VALUES(`desc`),
`updated_at` = VALUES(`updated_at`);
@@ -0,0 +1,4 @@
DELETE
FROM `system`
WHERE `category` = 'verify_code'
AND `key` IN ('ExpireTime', 'Limit', 'Interval');