From: smbaker Date: Mon, 23 Apr 2012 23:35:55 +0000 (-0700) Subject: drop tagvalue_view_interface_id_ifname view X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=03026ae30ddd29f24afe67a0c56ea16ac0642132 drop tagvalue_view_interface_id_ifname view --- diff --git a/migrations/106-up-newinterface.sql b/migrations/106-up-newinterface.sql index 394502d..7f05d3f 100644 --- a/migrations/106-up-newinterface.sql +++ b/migrations/106-up-newinterface.sql @@ -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)