clean up the boot states area
[plcapi.git] / migrations / v4-to-v5 / migrate.sql
index 6f36acb..c02390f 100644 (file)
@@ -242,8 +242,8 @@ INSERT INTO boot_states (boot_state)
 -- rcnf              failboot ?
 
 
-UPDATE nodes SET boot_state='safeboot' WHERE boot_state='dbg';
-UPDATE nodes SET boot_state='failboot' WHERE boot_state='diag';
+UPDATE nodes SET boot_state='failboot' WHERE boot_state='dbg';
+UPDATE nodes SET boot_state='safeboot' WHERE boot_state='diag';
 UPDATE nodes SET boot_state='disabled' WHERE boot_state='disable';
 UPDATE nodes SET boot_state='install' WHERE boot_state='inst';
 UPDATE nodes SET boot_state='reinstall' WHERE boot_state='rins';