15 lines
392 B
PL/PgSQL
15 lines
392 B
PL/PgSQL
-- Deploy numerus:available_invoice_status to pg
|
|
-- requires: schema_numerus
|
|
-- requires: invoice_status
|
|
-- requires: invoice_status_i18n
|
|
|
|
begin;
|
|
|
|
set search_path to numerus;
|
|
|
|
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';
|
|
|
|
commit;
|