some database updates (adding some _deleted fields) and fix links table.

git-svn-id: http://www.observium.org/svn/observer/trunk@3199 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-05-17 10:33:56 +00:00
parent 5d148bab86
commit 2880cf8f23
4 changed files with 17 additions and 7 deletions

5
sql-schema/023.sql Normal file
View File

@@ -0,0 +1,5 @@
ALTER TABLE `storage` ADD `storage_deleted` BOOL NOT NULL DEFAULT '0';
ALTER TABLE `links` CHANGE `local_interface_id` `local_port_id` INT( 11 ) NULL DEFAULT NULL;
ALTER TABLE `links` CHANGE `remote_interface_id` `remote_port_id` INT( 11 ) NULL DEFAULT NULL;
ALTER TABLE `sensors` ADD `sensor_deleted` BOOL NOT NULL DEFAULT '0' AFTER `sensor_id`;
ALTER TABLE `mempools` ADD `mempool_deleted` BOOL NOT NULL DEFAULT '0';