We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 019e67a commit bec45d6Copy full SHA for bec45d6
migrations/Version20250222165240.php
@@ -20,8 +20,8 @@ public function getDescription(): string
20
public function up(Schema $schema): void
21
{
22
//Change the old discriminator values to the new ones
23
- $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"');
+ $this->addSql("UPDATE attachments SET class_name = 'Part' WHERE class_name = 'PartDB\Part'");
+ $this->addSql("UPDATE attachments SET class_name = 'Device' WHERE class_name = ''PartDB\Device'");
25
}
26
27
public function down(Schema $schema): void
0 commit comments