Merge branch 'worktree-agent-adbc35a5' into Develop

# Conflicts:
#	.planning/STATE.md
#	drizzle-pg/meta/0002_snapshot.json
#	drizzle-pg/meta/_journal.json
#	src/db/schema.ts
This commit is contained in:
2026-04-06 08:00:04 +02:00
18 changed files with 866 additions and 32 deletions

View File

@@ -0,0 +1,12 @@
import { asc } from "drizzle-orm";
import { db as prodDb } from "../../db/index.ts";
import { tags } from "../../db/schema.ts";
type Db = typeof prodDb;
export async function getAllTags(db: Db = prodDb) {
return db
.select({ id: tags.id, name: tags.name })
.from(tags)
.orderBy(asc(tags.name));
}