added more db stuff, NOT WORKING
This commit is contained in:
0
migrations/tokens/down.sql
Normal file
0
migrations/tokens/down.sql
Normal file
7
migrations/tokens/up.sql
Normal file
7
migrations/tokens/up.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
CREATE TABLE IF NOT EXISTS Tokens (
|
||||
token TEXT NOT NULL UNIQUE,
|
||||
owner_id UUID NOT NULL,
|
||||
permissions BIGINT NOT NULL,
|
||||
PRIMARY KEY (token)
|
||||
)
|
||||
Reference in New Issue
Block a user