feat: Admin Area General Settings and Categories 1.07

This commit is contained in:
OpenVelo Agent
2026-07-22 14:52:59 +00:00
parent 1858121f75
commit 1e77b7a273
7 changed files with 323 additions and 97 deletions
@@ -32,7 +32,9 @@ export class InitSchema1700000000000 implements MigrationInterface {
"name" TEXT NOT NULL,
"abbreviation" TEXT NOT NULL,
"description" TEXT NOT NULL DEFAULT '',
"icon_path" TEXT NOT NULL DEFAULT ''
"icon_path" TEXT NOT NULL DEFAULT '',
"created_at" TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%fZ','now')),
"updated_at" TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%fZ','now'))
);
`);
await queryRunner.query(`CREATE UNIQUE INDEX IF NOT EXISTS "uq_category_system_key" ON "category"("system_key") WHERE "system_key" IS NOT NULL;`);