Ignore:
Timestamp:
03/31/16 18:00:41 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

SQL update script update for updated search; includes master_id
in the searchme view

File:
1 edited

Legend:

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

    r807 r824  
    8282    SELECT allocations.cidr, allocations.custid, allocations."type", allocations.city,
    8383      allocations.description, allocations.notes, allocations.circuitid, allocations.vrf,
    84       allocations.vlan, allocations.id, allocations.parent_id, 'n' AS available
     84      allocations.vlan, allocations.id, allocations.parent_id, allocations.master_id, 'n' AS available
    8585    FROM allocations
    8686  UNION
    8787    SELECT poolips.ip, poolips.custid, poolips.type, poolips.city,
    8888      poolips.description, poolips.notes, poolips.circuitid, poolips.vrf,
    89       poolips.vlan, poolips.id, poolips.parent_id, poolips.available
     89      poolips.vlan, poolips.id, poolips.parent_id, poolips.master_id, poolips.available
    9090    FROM poolips;
    9191
Note: See TracChangeset for help on using the changeset viewer.