mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Fixed migration
This commit is contained in:
parent
bec45d60e5
commit
6fd05e1456
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ final class Version20250222165240 extends AbstractMigration
|
|||
{
|
||||
//Change the old discriminator values to the new ones
|
||||
$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'");
|
||||
$this->addSql("UPDATE attachments SET class_name = 'Device' WHERE class_name = 'PartDB\Device'");
|
||||
}
|
||||
|
||||
public function down(Schema $schema): void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue