CREATE TABLE "prodPermissions" (
	"prodPerm_id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
	"name" text NOT NULL,
	"description" text NOT NULL,
	"roles" jsonb DEFAULT '[]'::jsonb,
	"rolesLegacy" jsonb DEFAULT '[]'::jsonb,
	"add_User" text DEFAULT 'LST_System' NOT NULL,
	"add_Date" timestamp DEFAULT now(),
	"upd_User" text DEFAULT 'LST_System' NOT NULL,
	"upd_date" timestamp DEFAULT now()
);
--> statement-breakpoint
CREATE UNIQUE INDEX "prodPermName" ON "prodPermissions" USING btree ("name");