Skip to content

Commit 6fd05e1

Browse files
committed
Fixed migration
1 parent bec45d6 commit 6fd05e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/Version20250222165240.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function up(Schema $schema): void
2121
{
2222
//Change the old discriminator values to the new ones
2323
$this->addSql("UPDATE attachments SET class_name = 'Part' WHERE class_name = 'PartDB\Part'");
24-
$this->addSql("UPDATE attachments SET class_name = 'Device' WHERE class_name = ''PartDB\Device'");
24+
$this->addSql("UPDATE attachments SET class_name = 'Device' WHERE class_name = 'PartDB\Device'");
2525
}
2626

2727
public function down(Schema $schema): void

0 commit comments

Comments
 (0)