From 67bd448dc52f5b7f155e3b87879df08ab06366fe Mon Sep 17 00:00:00 2001 From: juancwu <46619361+juancwu@users.noreply.github.com> Date: Sun, 11 Jan 2026 16:43:40 -0500 Subject: [PATCH] add initial migration --- migrations/00001_init.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 migrations/00001_init.sql diff --git a/migrations/00001_init.sql b/migrations/00001_init.sql new file mode 100644 index 0000000..0c61351 --- /dev/null +++ b/migrations/00001_init.sql @@ -0,0 +1,15 @@ +-- +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 +); +-- +goose StatementEnd + +-- +goose Down +-- +goose StatementBegin +DROP TABLE IF EXISTS keys; +-- +goose StatementEnd