Files
netdisco/share/schema_versions/App-Netdisco-DB-45-46-PostgreSQL.sql
2017-12-23 09:55:03 +00:00

12 lines
217 B
PL/PgSQL

BEGIN;
CREATE TABLE "netmap_positions" (
"id" serial PRIMARY KEY,
"device_groups" text[] NOT NULL,
"vlan" integer NOT NULL DEFAULT 0,
"positions" text NOT NULL,
UNIQUE ("device_groups", "vlan")
);
COMMIT;