Files
actual/packages/loot-core/drizzle/0024_dashboard.sql
2026-01-08 10:48:09 -08:00

12 lines
394 B
SQL

CREATE TABLE "actual"."dashboard" (
"id" varchar(36) PRIMARY KEY NOT NULL,
"type" text,
"width" integer,
"height" integer,
"x" integer,
"y" integer,
"meta" jsonb,
"tombstone" boolean DEFAULT false
);
--> statement-breakpoint
CREATE INDEX "dashboard_y_x_index" ON "actual"."dashboard" USING btree ("y" DESC NULLS LAST,"x" DESC NULLS LAST) WHERE "actual"."dashboard"."tombstone" IS FALSE;