v0.5.1 — Reminders, plant groups, location views, Wikipedia photos, Docker deploy

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Bonna Moon
2026-06-15 20:53:03 -05:00
parent e3f6a8ec92
commit 04dec2a198
32 changed files with 1988 additions and 181 deletions

View File

@@ -0,0 +1,23 @@
-- v0.4.0 — Plant groups (irises, hostas, etc.)
CREATE TABLE "PlantGroup" (
"id" TEXT NOT NULL,
"name" TEXT NOT NULL,
"notes" TEXT,
"active" BOOLEAN NOT NULL DEFAULT true,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT "PlantGroup_pkey" PRIMARY KEY ("id")
);
CREATE UNIQUE INDEX "PlantGroup_name_key" ON "PlantGroup"("name");
CREATE INDEX "PlantGroup_active_idx" ON "PlantGroup"("active");
ALTER TABLE "Plant" ADD COLUMN "groupId" TEXT;
ALTER TABLE "Plant"
ADD CONSTRAINT "Plant_groupId_fkey"
FOREIGN KEY ("groupId") REFERENCES "PlantGroup"("id")
ON DELETE SET NULL ON UPDATE CASCADE;
CREATE INDEX "Plant_groupId_idx" ON "Plant"("groupId");