c92ee309a9
Got the migrations and datastructures in. Next step is building db utility function into the db module or client module
12 lines
196 B
SQL
12 lines
196 B
SQL
-- Your SQL goes here
|
|
CREATE TYPE user_t AS (
|
|
name TEXT,
|
|
server TEXT
|
|
);
|
|
CREATE TABLE groups (
|
|
id SERIAL PRIMARY KEY,
|
|
groupname TEXT NOT NULL,
|
|
role TEXT,
|
|
username user_t NOT NULL
|
|
)
|