Files
api/database/postgres/migrations/20210328163342_create_table_key.sql
T
gisle f14386eceb
continuous-integration/drone/push Build is passing
add key and user repositories.
2021-03-28 21:08:45 +02:00

15 lines
272 B
SQL

-- +goose Up
-- +goose StatementBegin
CREATE TABLE key (
id TEXT NOT NULL PRIMARY KEY,
name TEXT NOT NULL,
"user" TEXT NOT NULL,
secret TEXT NOT NULL
);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP TABLE key;
-- +goose StatementEnd