bug 6748 : Adding data migration script for this. This needs to be run for migration to 2.1.x. It deletes all the previous entries for secondary storage in the op_host_capacity table.

status 6748: resolved fixed
This commit is contained in:
nit 2010-11-15 20:41:20 +05:30
parent 06a1e47fb3
commit 3a758c28b0
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
use cloud;
-- In case there are more DML's to be added please wrap it around transaction. Refer data-20to21 script
--
-- Bug# 6748. This query deletes all the previous stats for secondary storage. On successful migration new row/rows would be created reflecting the correct stats for secondary storage
delete FROM op_host_capacity where capacity_type=6;