Files
netdisco/share/schema_versions/App-Netdisco-DB-6-7-PostgreSQL.sql
2017-04-24 12:41:15 +01:00

15 lines
280 B
PL/PgSQL

BEGIN;
-- Netdisco
-- Database Schema Modifications
-- UPGRADE from 1.0 to 1.1
--
-- Add index to node_ip table
CREATE INDEX idx_node_ip_ip_active ON node_ip(ip,active);
-- Add "power" column to device_port_power table
ALTER TABLE device_port_power ADD power integer;
COMMIT;