drop tagvalue_view_interface_id_ifname view
authorsmbaker <smbaker@fc8clean.lan>
Mon, 23 Apr 2012 23:35:55 +0000 (16:35 -0700)
committersmbaker <smbaker@fc8clean.lan>
Mon, 23 Apr 2012 23:35:55 +0000 (16:35 -0700)
migrations/106-up-newinterface.sql

index 394502d..7f05d3f 100644 (file)
@@ -28,8 +28,7 @@ CAST(date_part('epoch', ip_addresses.last_updated) AS bigint) AS last_updated
 FROM ip_addresses;
 
 DROP VIEW view_interfaces;
--- FIXME: Why was this needed?
--- DROP VIEW tagvalue_view_interface_id_ifname;
+DROP VIEW IF EXISTS tagvalue_view_interface_id_ifname;
 DROP VIEW view_interface_tags;
 
 INSERT INTO ip_addresses (interface_id, type, ip_addr, netmask)