Conditions | 1 |
Paths | 1 |
Total Lines | 4 |
Code Lines | 1 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function up(Schema $schema): void |
||
13 | { |
||
14 | // Mark all expenseClaims with transactions as processed |
||
15 | $this->addSql("UPDATE expense_claim SET status = 'processed' WHERE status = 'new' AND id IN (SELECT expense_claim_id FROM transaction WHERE expense_claim_id IS NOT NULL)"); |
||
16 | } |
||
18 |