mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-15 08:25:16 +00:00
refactor: remove deprecated network management files and update .gitignore
- Deleted the SQL file and snapshot related to the "network" management schema, cleaning up the database structure. - Updated the migration journal to reflect these deletions. - Added .playwright-* to .gitignore to exclude Playwright test files from version control.
This commit is contained in:
@@ -44,3 +44,5 @@ yarn-error.log*
|
|||||||
|
|
||||||
|
|
||||||
.db
|
.db
|
||||||
|
|
||||||
|
.playwright-*
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
CREATE TYPE "public"."networkDriver" AS ENUM('bridge', 'host', 'overlay', 'macvlan', 'none', 'ipvlan');--> statement-breakpoint
|
|
||||||
CREATE TABLE "network" (
|
|
||||||
"networkId" text PRIMARY KEY NOT NULL,
|
|
||||||
"name" text NOT NULL,
|
|
||||||
"driver" "networkDriver" DEFAULT 'bridge' NOT NULL,
|
|
||||||
"scope" text,
|
|
||||||
"internal" boolean DEFAULT false NOT NULL,
|
|
||||||
"attachable" boolean DEFAULT false NOT NULL,
|
|
||||||
"ingress" boolean DEFAULT false NOT NULL,
|
|
||||||
"configOnly" boolean DEFAULT false NOT NULL,
|
|
||||||
"enableIPv4" boolean DEFAULT true NOT NULL,
|
|
||||||
"enableIPv6" boolean DEFAULT false NOT NULL,
|
|
||||||
"ipam" jsonb DEFAULT '{}'::jsonb,
|
|
||||||
"createdAt" text NOT NULL,
|
|
||||||
"organizationId" text NOT NULL,
|
|
||||||
"serverId" text
|
|
||||||
);
|
|
||||||
--> statement-breakpoint
|
|
||||||
ALTER TABLE "application" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
|
|
||||||
ALTER TABLE "compose" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
|
|
||||||
ALTER TABLE "mariadb" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
|
|
||||||
ALTER TABLE "mongo" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
|
|
||||||
ALTER TABLE "mysql" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
|
|
||||||
ALTER TABLE "postgres" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
|
|
||||||
ALTER TABLE "redis" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
|
|
||||||
ALTER TABLE "network" ADD CONSTRAINT "network_organizationId_organization_id_fk" FOREIGN KEY ("organizationId") REFERENCES "public"."organization"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
||||||
ALTER TABLE "network" ADD CONSTRAINT "network_serverId_server_serverId_fk" FOREIGN KEY ("serverId") REFERENCES "public"."server"("serverId") ON DELETE cascade ON UPDATE no action;
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1163,13 +1163,6 @@
|
|||||||
"when": 1775845419261,
|
"when": 1775845419261,
|
||||||
"tag": "0165_abnormal_greymalkin",
|
"tag": "0165_abnormal_greymalkin",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
},
|
|
||||||
{
|
|
||||||
"idx": 166,
|
|
||||||
"version": "7",
|
|
||||||
"when": 1776117573148,
|
|
||||||
"tag": "0166_pale_multiple_man",
|
|
||||||
"breakpoints": true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user