class Version20210210073043 extends IrreversibleMigration
11
{
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)");