DIS-108: DB-Schema SSOT -- src/db/schema.sql #17

Closed
opened 2026-04-08 14:15:05 +00:00 by dev · 0 comments
Owner

Ziel

SQLite-Schema in einer schema.sql-Datei (Single Source of Truth). database.ts liest und wendet sie an.

Scope

In: src/db/schema.sql mit allen CREATE TABLE-Statements, database.ts ohne Inline-DDL

Definition of Done

  • schema.sql enthaelt alle Tabellen und Indizes
  • database.ts hat kein Inline-DDL mehr
  • Integration-Test tests/integration/db-init.test.ts gruen
  • npm run build && npm test gruen

Branch

phase-1/db-schema-ssot

Abhaengigkeiten

Blockiert durch: DIS-101

## Ziel SQLite-Schema in einer `schema.sql`-Datei (Single Source of Truth). `database.ts` liest und wendet sie an. ## Scope **In:** `src/db/schema.sql` mit allen CREATE TABLE-Statements, `database.ts` ohne Inline-DDL ## Definition of Done - [ ] `schema.sql` enthaelt alle Tabellen und Indizes - [ ] `database.ts` hat kein Inline-DDL mehr - [ ] Integration-Test `tests/integration/db-init.test.ts` gruen - [ ] `npm run build && npm test` gruen ## Branch `phase-1/db-schema-ssot` ## Abhaengigkeiten Blockiert durch: **DIS-101**
dev added this to the Phase 1 � Solides MVP milestone 2026-04-08 14:15:05 +00:00
dev added the
type:refactor
priority:p1
phase:1
labels 2026-04-08 14:15:06 +00:00
dev closed this issue 2026-04-10 08:28:16 +00:00
Sign in to join this conversation.
No description provided.