diff --git a/migrations/00001_init.sql b/migrations/00001_init.sql deleted file mode 100644 index cbb222e..0000000 --- a/migrations/00001_init.sql +++ /dev/null @@ -1,16 +0,0 @@ --- +goose Up --- +goose StatementBegin -CREATE TABLE IF NOT EXISTS keys ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - host_pattern TEXT NOT NULL, - user_pattern TEXT NOT NULL, - encrypted_pem BLOB NOT NULL, - comment TEXT, - UNIQUE (user_pattern, host_pattern) -); --- +goose StatementEnd - --- +goose Down --- +goose StatementBegin -DROP TABLE IF EXISTS keys; --- +goose StatementEnd