mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-07 04:12:04 +00:00
HealthLog — personal health-tracking PWA with weight, blood pressure, pulse, mood tracking, medication compliance, Withings integration, doctor report PDF export, and Dracula-themed UI.
12 lines
291 B
SQL
12 lines
291 B
SQL
-- CreateTable
|
|
CREATE TABLE "rate_limits" (
|
|
"key" TEXT NOT NULL,
|
|
"count" INTEGER NOT NULL DEFAULT 1,
|
|
"reset_at" TIMESTAMP(3) NOT NULL,
|
|
|
|
CONSTRAINT "rate_limits_pkey" PRIMARY KEY ("key")
|
|
);
|
|
|
|
-- CreateIndex
|
|
CREATE INDEX "rate_limits_reset_at_idx" ON "rate_limits"("reset_at");
|