initial version of endpoint

This commit is contained in:
2025-03-22 21:17:29 +11:00
parent 112ad8da1a
commit a4578fb293
13 changed files with 289 additions and 119 deletions

View File

@@ -0,0 +1,13 @@
-- +goose Up
-- +goose StatementBegin
CREATE TABLE incidents (
id INTEGER PRIMARY KEY AUTOINCREMENT,
external_id TEXT NOT NULL,
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP TABLE IF EXISTS incidents;
-- +goose StatementEnd