ændre tabel navn users_groups til users_in_groups

This commit is contained in:
Mikkel
2022-06-04 09:57:27 +02:00
parent a405cf772d
commit 575b84f191
3 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ CREATE TABLE IF NOT EXISTS posts (
);
-- Relationships
CREATE TABLE IF NOT EXISTS users_groups (
CREATE TABLE IF NOT EXISTS users_in_groups (
cpr_num integer REFERENCES users(cpr_num) NOT NULL,
group_id integer REFERENCES groups(group_id) NOT NULL,
PRIMARY KEY (cpr_num, group_id)