Ignore:
Timestamp:
03/08/16 13:05:06 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Roll up SQL definition updates

  • extend length of description field on allocations and poolips
  • create VRF table
File:
1 edited

Legend:

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

    r794 r807  
    2626    bkip inet
    2727);
     28
     29-- VRFs are now the apex entity
     30CREATE TABLE vrfs (
     31    vrf varchar(32) DEFAULT '' NOT NULL,
     32    comment text DEFAULT '' NOT NULL,
     33    location varchar(4) DEFAULT '' NOT NULL
     34);
     35
     36ALTER TABLE ONLY vrfs
     37    ADD CONSTRAINT vrfs_pkey PRIMARY KEY (vrf);
     38
     39-- need a default VRF to stuff everything into to start with
     40INSERT INTO vrfs (vrf,comment) VALUES ('DEFAULT','Initial default VRF');
    2841
    2942-- Master and routed blocks now live in the allocations table.
Note: See TracChangeset for help on using the changeset viewer.