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.

15 lines
322 B

  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE user (
  4. user_id CHAR(32) NOT NULL PRIMARY KEY,
  5. name VARCHAR(255) NOT NULL,
  6. active BOOL NOT NULL,
  7. admin BOOL NOT NULL,
  8. hash VARCHAR(255) NOT NULL
  9. );
  10. -- +goose StatementEnd
  11. -- +goose Down
  12. -- +goose StatementBegin
  13. DROP TABLE user;
  14. -- +goose StatementEnd