Remove cloud storage tables and associated metadata for "pale_guardsmen" from the database schema.

This commit is contained in:
Mauricio Siu 2025-06-22 00:00:13 -06:00
parent 91d315ae6f
commit 2bcd9253da
3 changed files with 0 additions and 5959 deletions

View File

@ -1,33 +0,0 @@
CREATE TABLE "cloud_storage_destination" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"name" text NOT NULL,
"provider" text NOT NULL,
"username" text,
"password" text,
"host" text,
"port" text,
"config" text,
"organization_id" text NOT NULL,
"created_at" timestamp DEFAULT now(),
"updated_at" timestamp DEFAULT now()
);
--> statement-breakpoint
CREATE TABLE "cloud_storage_backup" (
"id" text PRIMARY KEY NOT NULL,
"organization_id" text NOT NULL,
"cloud_storage_destination_id" uuid NOT NULL,
"schedule" text NOT NULL,
"enabled" boolean DEFAULT true NOT NULL,
"database_type" text NOT NULL,
"prefix" text,
"database" text,
"postgres_id" text,
"mysql_id" text,
"mariadb_id" text,
"mongo_id" text,
"keep_latest_count" integer,
"created_at" timestamp DEFAULT now() NOT NULL,
"updated_at" timestamp DEFAULT now() NOT NULL
);
--> statement-breakpoint
ALTER TABLE "cloud_storage_backup" ADD CONSTRAINT "cloud_storage_backup_cloud_storage_destination_id_cloud_storage_destination_id_fk" FOREIGN KEY ("cloud_storage_destination_id") REFERENCES "public"."cloud_storage_destination"("id") ON DELETE no action ON UPDATE no action;

File diff suppressed because it is too large Load Diff

View File

@ -652,13 +652,6 @@
"when": 1747713229160,
"tag": "0092_stiff_the_watchers",
"breakpoints": true
},
{
"idx": 93,
"version": "7",
"when": 1748419547200,
"tag": "0093_pale_guardsmen",
"breakpoints": true
}
]
}