Files
HealthLog/prisma/migrations/0019_add_rate_limits/migration.sql
T
Marc-André Bombeck 38309932f3 Initial release v1.0.0
HealthLog — personal health-tracking PWA with weight, blood pressure,
pulse, mood tracking, medication compliance, Withings integration,
doctor report PDF export, and Dracula-themed UI.
2026-03-10 20:14:33 +01:00

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");