feat(rcon): add admin server console
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE "rcon_servers" (
|
||||
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
||||
"name" varchar(100) NOT NULL,
|
||||
"host" varchar(253) NOT NULL,
|
||||
"port" integer DEFAULT 25575 NOT NULL,
|
||||
"encrypted_password" text NOT NULL,
|
||||
"enabled" boolean DEFAULT false NOT NULL,
|
||||
"created_at" timestamp (3) with time zone DEFAULT now() NOT NULL,
|
||||
"updated_at" timestamp (3) with time zone DEFAULT now() NOT NULL,
|
||||
CONSTRAINT "rcon_servers_port_check" CHECK ("rcon_servers"."port" between 1 and 65535)
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE UNIQUE INDEX "rcon_servers_name_uidx" ON "rcon_servers" USING btree (lower("name"));
|
||||
Reference in New Issue
Block a user