Initial commit

This commit is contained in:
jdl
2026-06-14 20:10:00 +02:00
parent 19f8bf4719
commit 0d382fa2d0
7 changed files with 173 additions and 0 deletions

9
test-migrations/000.sql Normal file
View File

@@ -0,0 +1,9 @@
CREATE TABLE users(
UserID BIGINT NOT NULL PRIMARY KEY,
Email TEXT NOT NULL UNIQUE);
CREATE TABLE user_notes(
UserID BIGINT NOT NULL REFERENCES users(UserID),
NoteID BIGINT NOT NULL,
Note Text NOT NULL,
PRIMARY KEY(UserID,NoteID));