mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-02 10:12:15 +00:00
- Updated backup and restore functionalities to include support for the 'libsql' database type. - Enhanced the backup process with new methods for running and restoring libsql backups. - Modified existing components and schemas to accommodate libsql, including updates to the database type enumerations and backup schemas. - Removed obsolete bottomless replication features from the libsql schema. - Updated related UI components to reflect changes in backup handling for libsql.
7 lines
648 B
SQL
7 lines
648 B
SQL
ALTER TYPE "public"."databaseType" ADD VALUE 'libsql';--> statement-breakpoint
|
|
ALTER TABLE "libsql" DROP CONSTRAINT "libsql_bottomlessReplicationDestinationId_destination_destinationId_fk";
|
|
--> statement-breakpoint
|
|
ALTER TABLE "backup" ADD COLUMN "libsqlId" text;--> statement-breakpoint
|
|
ALTER TABLE "backup" ADD CONSTRAINT "backup_libsqlId_libsql_libsqlId_fk" FOREIGN KEY ("libsqlId") REFERENCES "public"."libsql"("libsqlId") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
ALTER TABLE "libsql" DROP COLUMN "enableBottomlessReplication";--> statement-breakpoint
|
|
ALTER TABLE "libsql" DROP COLUMN "bottomlessReplicationDestinationId"; |