Initial implementation of db stuffs
Got the migrations and datastructures in. Next step is building db utility function into the db module or client module
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE roles;
|
||||
@@ -0,0 +1,7 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE roles (
|
||||
id SERIAL PRIMARY KEY,
|
||||
rolename TEXT NOT NULL,
|
||||
groupname TEXT NOT NULL,
|
||||
permission TEXT NOT NULL
|
||||
)
|
||||
Reference in New Issue
Block a user