Changeset 865 for trunk


Ignore:
Timestamp:
04/29/16 17:14:46 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Further refine new install and 2.7-3.0 upgrade SQL to support multiple
copies of the same reverse zone in different VRFs that use different
DNS views. See #41.

Location:
trunk/cgi-bin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/ipdb-2.7-3.0.sql

    r854 r865  
    88-- Flag table for deciding if we can usefully do rDNS RPC calls.
    99CREATE TABLE dnsavail (
    10     "zone" cidr PRIMARY KEY,
     10    "zone" cidr,
    1111    "location" varchar(4) DEFAULT '',
    1212    parent_alloc integer NOT NULL
    1313);
     14
     15ALTER TABLE ONLY dnsavail
     16    ADD CONSTRAINT dnsavail_pkey PRIMARY KEY ("zone",parent_alloc);
    1417
    1518-- Store backup fields in a separate table
  • trunk/cgi-bin/ipdb.psql

    r864 r865  
    7979-- Flag table for deciding if we can usefully do rDNS RPC calls.
    8080CREATE TABLE dnsavail (
    81     "zone" cidr PRIMARY KEY,
     81    "zone" cidr,
    8282    "location" varchar(4) DEFAULT '',
    8383    parent_alloc integer NOT NULL
    8484);
     85
     86ALTER TABLE ONLY dnsavail
     87    ADD CONSTRAINT dnsavail_pkey PRIMARY KEY ("zone",parent_alloc);
    8588
    8689-- Store backup fields in a separate table
Note: See TracChangeset for help on using the changeset viewer.