Internal: Rename migration Version20240129225700 to Version20201212114909

Execute changes in templates.image_id before
pull/5126/head
Angel Fernando Quiroz Campos 2 years ago
parent ef90499b86
commit dd47149c41
  1. 1
      src/CoreBundle/Entity/User.php
  2. 2
      src/CoreBundle/Migrations/Schema/V200/Version20201212114909.php

@ -508,6 +508,7 @@ class User implements UserInterface, EquatableInterface, ResourceInterface, Reso
mappedBy: 'user',
targetEntity: Templates::class,
cascade: ['persist', 'remove'],
fetch: 'EXTRA_LAZY',
orphanRemoval: true
)]
protected Collection $templates;

@ -7,7 +7,7 @@ namespace Chamilo\CoreBundle\Migrations\Schema\V200;
use Chamilo\CoreBundle\Migrations\AbstractMigrationChamilo;
use Doctrine\DBAL\Schema\Schema;
final class Version20240129225700 extends AbstractMigrationChamilo
final class Version20201212114909 extends AbstractMigrationChamilo
{
public function getDescription() : string
{
Loading…
Cancel
Save