drop tagvalue_view_interface_id_ifname view
[plcapi.git] / 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)