Changeset 822 for trunk


Ignore:
Timestamp:
03/29/16 17:34:44 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Tweak db-update.pl to populate bare minimum data into the new VRF top
level so that data doesn't disappear completely. See #54.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/db-update.pl

    r772 r822  
    2929  # master blocks move to the allocations table
    3030  my $getm = $dbh->prepare("SELECT cidr,ctime,mtime,rwhois FROM masterblocks");
    31   my $insm = $dbh->prepare("INSERT INTO allocations (cidr,type,createstamp,modifystamp,swip,custid) VALUES (?,'mm',?,?,?,?)");
     31  my $insm = $dbh->prepare("INSERT INTO allocations (cidr,type,vrf,createstamp,modifystamp,swip,custid) VALUES (?,'mm','DEFAULT',?,?,?,?)");
    3232
    3333  # routed blocks move to the allocations table
Note: See TracChangeset for help on using the changeset viewer.