15 lines
392 B
PL/PgSQL
15 lines
392 B
PL/PgSQL
-- Deploy numerus:available_expense_status to pg
|
|
-- requires: schema_numerus
|
|
-- requires: expense_status
|
|
-- requires: expense_status_i18n
|
|
|
|
begin;
|
|
|
|
set search_path to numerus;
|
|
|
|
update expense set expense_status = 'pending' where expense_status = 'partial';
|
|
delete from expense_status_i18n where expense_status = 'partial';
|
|
delete from expense_status where expense_status = 'partial';
|
|
|
|
commit;
|