diff --git a/db/versions/11359-navyPaniculata/00-firstScript.sql b/db/versions/11359-navyPaniculata/00-firstScript.sql index 6748d2104..de057b540 100644 --- a/db/versions/11359-navyPaniculata/00-firstScript.sql +++ b/db/versions/11359-navyPaniculata/00-firstScript.sql @@ -1,8 +1,8 @@ -DELETE FROM stateI18n +DELETE FROM vn.stateI18n WHERE `name` IN ('Billed', 'Facturado', 'Assisted preparation', 'Preparación asistida', 'Shipped', 'Embarcado', 'Stowaway OK', 'Polizón OK'); -UPDATE `state` SET nextStateFk = 43 +UPDATE vn.`state` SET nextStateFk = 43 WHERE nextStateFk IN (11, 27, 30, 32, 41); -DELETE FROM `state` +DELETE FROM vn.`state` WHERE code IN ('INVOICED', 'ASSISTED_PREPARATION', 'BOARD', 'OK STOWAWAY', 'PARTIAL_PREPARATION'); \ No newline at end of file