feat(persistence): add SqliteSongRepository and SqliteRepositoryFactory

This commit is contained in:
2026-04-08 03:05:16 +02:00
parent 8f9886c9a9
commit 37a1e386e4
5 changed files with 3805 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
CREATE TABLE IF NOT EXISTS songs (
id TEXT PRIMARY KEY,
title TEXT NOT NULL,
artist TEXT NOT NULL,
original_key TEXT,
preview_chords TEXT NOT NULL,
body TEXT NOT NULL,
created_at TEXT NOT NULL DEFAULT (datetime('now'))
);