Fix DB schema files location with Module::Build

This commit is contained in:
Oliver Gorwits
2017-04-24 12:41:15 +01:00
parent 0737914af5
commit 48cb6dd4c1
42 changed files with 8 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
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;