2024-08-21 01:36:12 +00:00
|
|
|
-- Deploy numerus:available_invoice_status to pg
|
|
|
|
-- requires: schema_numerus
|
|
|
|
-- requires: invoice_status
|
|
|
|
-- requires: invoice_status_i18n
|
2023-02-07 15:45:27 +00:00
|
|
|
|
|
|
|
begin;
|
|
|
|
|
|
|
|
set search_path to numerus;
|
|
|
|
|
2024-08-21 01:36:12 +00:00
|
|
|
update invoice set invoice_status = 'created' where invoice_status = 'partial';
|
|
|
|
delete from invoice_status_i18n where invoice_status = 'partial';
|
|
|
|
delete from invoice_status where invoice_status = 'partial';
|
2023-02-07 15:45:27 +00:00
|
|
|
|
|
|
|
commit;
|