refactor: refs #7899 delete unused states
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
470d9bde64
commit
00412e3258
|
@ -0,0 +1,8 @@
|
||||||
|
DELETE FROM stateI18n
|
||||||
|
WHERE `name` IN ('Billed', 'Facturado', 'Assisted preparation', 'Preparación asistida', 'Shipped', 'Embarcado', 'Stowaway OK', 'Polizón OK');
|
||||||
|
|
||||||
|
UPDATE `state` SET nextStateFk = 43
|
||||||
|
WHERE nextStateFk IN (11, 27, 30, 32, 41);
|
||||||
|
|
||||||
|
DELETE FROM `state`
|
||||||
|
WHERE code IN ('INVOICED', 'ASSISTED_PREPARATION', 'BOARD', 'OK STOWAWAY', 'PARTIAL_PREPARATION');
|
|
@ -342,7 +342,6 @@ module.exports = Self => {
|
||||||
'CHECKED',
|
'CHECKED',
|
||||||
'PACKING',
|
'PACKING',
|
||||||
'PACKED',
|
'PACKED',
|
||||||
'INVOICED',
|
|
||||||
'ON_DELIVERY',
|
'ON_DELIVERY',
|
||||||
'PREPARED',
|
'PREPARED',
|
||||||
'WAITING_FOR_PICKUP',
|
'WAITING_FOR_PICKUP',
|
||||||
|
@ -350,10 +349,7 @@ module.exports = Self => {
|
||||||
'PRINTED_BACK',
|
'PRINTED_BACK',
|
||||||
'LAST_CALL',
|
'LAST_CALL',
|
||||||
'PREVIOUS_PREPARATION',
|
'PREVIOUS_PREPARATION',
|
||||||
'ASSISTED_PREPARATION',
|
|
||||||
'BOARD',
|
|
||||||
'PRINTED STOWAWAY',
|
'PRINTED STOWAWAY',
|
||||||
'OK STOWAWAY',
|
|
||||||
'HALF_PACKED',
|
'HALF_PACKED',
|
||||||
'COOLER_PREPARATION'
|
'COOLER_PREPARATION'
|
||||||
]}};
|
]}};
|
||||||
|
|
Loading…
Reference in New Issue