mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-29 19:14:22 -05:00
12 lines
394 B
SQL
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; |