release: prepare 0629001 portal updates

This commit is contained in:
john
2026-06-29 22:20:04 +08:00
parent 18ea4f82fd
commit a40e340a41
84 changed files with 17516 additions and 2475 deletions
+5
View File
@@ -132,6 +132,11 @@ export async function migrateSchema(pool) {
if (!(await indexExists(pool, 'h5_users', 'uq_h5_users_email'))) {
await pool.query(`ALTER TABLE h5_users ADD UNIQUE KEY uq_h5_users_email (email)`);
}
if (!(await indexExists(pool, 'h5_usage_records', 'uniq_h5_usage_request_id'))) {
await pool.query(
`ALTER TABLE h5_usage_records ADD UNIQUE KEY uniq_h5_usage_request_id (request_id)`,
);
}
const assetForeignKeys = [
{