Files
ppanel-web/migrations/postgres/02128_server_config_override.sql
T
Ember Moth 5de9508963 fix bugs
2026-07-05 22:35:53 +08:00

15 lines
583 B
SQL

CREATE TABLE IF NOT EXISTS "server_config_overrides"
(
"id" BIGINT GENERATED BY DEFAULT AS IDENTITY NOT NULL,
"server_id" bigint NOT NULL,
"ip_strategy" varchar(32) DEFAULT NULL,
"dns" text DEFAULT NULL,
"block" text DEFAULT NULL,
"outbound" text DEFAULT NULL,
"created_at" TIMESTAMP(3) DEFAULT NULL,
"updated_at" TIMESTAMP(3) DEFAULT NULL,
PRIMARY KEY ("id"),
CONSTRAINT "uni_server_config_overrides_server_id" UNIQUE ("server_id")
);