Skip to content

Commit

Permalink
fix: migration
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-8 committed Nov 18, 2024
1 parent 6ceda11 commit dc73d0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/DoctrineMigrations/Version20241118103628.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public function up(Schema $schema): void
// this up() migration is auto-generated, please modify it to your needs
// create a tag for to flag tasks created with invalid addresses
// soon to be replaced by an incident
$this->addSql("INSERT INTO tag ('name', slug, color, created_at, updated_at)
$this->addSql("INSERT INTO tag (name, slug, color, created_at, updated_at)
SELECT 'review-needed', 'review-needed', '#e42b2b', NOW(), NOW()
WHERE NOT EXISTS (SELECT 'sluc' FROM tag WHERE 'sluc' = 'review-needed'
WHERE NOT EXISTS (SELECT slug FROM tag WHERE slug = 'review-needed')
");

}
Expand Down

0 comments on commit dc73d0f

Please sign in to comment.