GraphQL API and utilities for the rpdata project
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.

13 lines
259 B

  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE "user" (
  4. id TEXT NOT NULL PRIMARY KEY,
  5. nick TEXT NOT NULL,
  6. permissions TEXT[] NOT NULL
  7. );
  8. -- +goose StatementEnd
  9. -- +goose Down
  10. -- +goose StatementBegin
  11. DROP TABLE "user";
  12. -- +goose StatementEnd