From a007b22a23397ec6dc69736e73f85746ce457355 Mon Sep 17 00:00:00 2001 From: batsumaru <> Date: Thu, 15 Oct 2026 14:43:23 +0900 Subject: Add API skeleton --- migrations/202610150003_add_measurement.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 migrations/202610150003_add_measurement.sql (limited to 'migrations/202610150003_add_measurement.sql') diff --git a/migrations/202610150003_add_measurement.sql b/migrations/202610150003_add_measurement.sql new file mode 100644 index 0000000..364e265 --- /dev/null +++ b/migrations/202610150003_add_measurement.sql @@ -0,0 +1,7 @@ +CREATE TABLE IF NOT EXISTS measurement ( + id UUID PRIMARY KEY, + measured_at TIMESTAMPTZ NOT NULL, + metric_type metric_type NOT NULL, + value DOUBLE PRECISION NOT NULL, + unit unit NOT NULL +); \ No newline at end of file -- cgit v1.3