fix(db): add down migration, template-DB test harness, EntryStatus type

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas WintherandClaude Sonnet 5.5 committed 2026-10-30 15:49:06 +01:00
1 parent da04adb286
commit ff595c1c5f
4 files changed
+92 -21

No files matched your search

+2 -1
View File
@@ -5,6 +5,7 @@
*/
export type Role = "admin" | "member";
export type EntryStatus = "planned" | "in_progress" | "paused" | "completed" | "dropped" | "none";
export type Visibility = "private" | "friends" | "public";
export type TokenScope = "read" | "write" | "ingest";
export type CustomFieldLevel = "entry" | "engagement" | "copy";
@@ -105,7 +106,7 @@ export interface EntriesTable {
id: string;
user_id: string;
work_id: string;
status: string;
status: EntryStatus;
rating: number | null;
review: string | null;
private_notes: string | null;