feat: implement user linking for members and update database schema for user associations
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 53s

This commit is contained in:
Torsten Schulz (local)
2026-07-22 23:54:45 +02:00
parent 46079fc16e
commit 3ac4039097
12 changed files with 319 additions and 18 deletions

View File

@@ -0,0 +1,4 @@
ALTER TABLE member
ADD COLUMN user_id INT NULL,
ADD UNIQUE KEY member_user_id_unique (user_id),
ADD CONSTRAINT member_user_id_fk FOREIGN KEY (user_id) REFERENCES user(id) ON DELETE SET NULL;