first commit

This commit is contained in:
2023-06-27 09:48:33 +02:00
commit 8fc0220e51
29 changed files with 1315 additions and 0 deletions
@@ -0,0 +1,19 @@
-- +goose Up
-- +goose StatementBegin
CREATE TABLE tag
(
`id` CHAR(8) NOT NULL PRIMARY KEY,
`parent_id` CHAR(8) NULL,
`owner_id` VARCHAR(255) NOT NULL,
`name` VARCHAR(255) NOT NULL,
`kind` INT NOT NULL,
`description` TEXT NOT NULL,
`listed` BOOL NOT NULL,
`secret` BOOL NOT NULL
);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP TABLE tag;
-- +goose StatementEnd