Change partial expenses to pending when reverting available status

Otherwise, i could have an expense that i have set to partial during
development that prevents sqitch to rebase because it is still in use.
This commit is contained in:
jordi fita mas 2024-08-13 02:31:15 +02:00
parent c95f172499
commit 71a0a82a3f
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ 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';