get it testing

This commit is contained in:
2025-05-09 17:33:01 -07:00
parent d472c5ee82
commit 7114af9d8c
6 changed files with 59 additions and 16 deletions

View File

@@ -27,3 +27,16 @@ CREATE TABLE registrations (
id text primary key,
code text not null
);
CREATE TABLE roles (
id text primary key,
role text not null
);
CREATE TABLE user_roles (
id text primary key,
uid text not null,
rid text not null,
FOREIGN KEY(uid) REFERENCES user(id),
FOREIGN KEY(rid) REFERENCES roles(id)
);