From 03026ae30ddd29f24afe67a0c56ea16ac0642132 Mon Sep 17 00:00:00 2001 From: smbaker Date: Mon, 23 Apr 2012 16:35:55 -0700 Subject: [PATCH] drop tagvalue_view_interface_id_ifname view --- migrations/106-up-newinterface.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/migrations/106-up-newinterface.sql b/migrations/106-up-newinterface.sql index 394502d1..7f05d3f4 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) -- 2.47.0