git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c04b312
)
drop tagvalue_view_interface_id_ifname view
author
smbaker
<smbaker@fc8clean.lan>
Mon, 23 Apr 2012 23:35:55 +0000
(16:35 -0700)
committer
smbaker
<smbaker@fc8clean.lan>
Mon, 23 Apr 2012 23:35:55 +0000
(16:35 -0700)
migrations/106-up-newinterface.sql
patch
|
blob
|
history
diff --git
a/migrations/106-up-newinterface.sql
b/migrations/106-up-newinterface.sql
index
394502d
..
7f05d3f
100644
(file)
--- 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)