added functionality to archive clients
Some checks failed
PHPUnit / test (push) Has been cancelled

This commit is contained in:
2026-06-12 20:55:12 +02:00
parent 59ea2cd667
commit 5dff24a232
15 changed files with 436 additions and 48 deletions

View File

@ -32,6 +32,8 @@ CREATE TABLE IF NOT EXISTS coach (
CREATE TABLE IF NOT EXISTS client (
clientCode TEXT NOT NULL PRIMARY KEY,
coachID TEXT NOT NULL,
archived INTEGER NOT NULL DEFAULT 0,
archivedAt INTEGER NOT NULL DEFAULT 0,
FOREIGN KEY(coachID) REFERENCES coach(coachID)
);