CREATE TABLE "serverData" (
	"server_id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
	"name" text NOT NULL,
	"serverDNS" text,
	"plantToken" text,
	"ipAddress" text,
	"greatPlainsPlantCode" numeric,
	"streetAddress" text,
	"cityState" text,
	"zipcode" numeric,
	"contactEmail" text,
	"contactPhone" text,
	"customerTiAcc" text,
	"lstServerPort" numeric,
	"active" boolean DEFAULT true,
	"serverLoc" text,
	"lastUpdated" timestamp DEFAULT now(),
	"isUpgrading" boolean DEFAULT false
);
--> statement-breakpoint
CREATE UNIQUE INDEX "plantToken" ON "serverData" USING btree ("plantToken");