stufflog graphql server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
364 B

-- +goose Up
-- +goose StatementBegin
CREATE TABLE project_permission (
project_id CHAR(16) NOT NULL,
user_id CHAR(32) NOT NULL,
access_level INTEGER NOT NULL DEFAULT (0),
PRIMARY KEY (project_id, user_id),
INDEX (user_id)
);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP TABLE project_permission
-- +goose StatementEnd