Skip to content

Commit

Permalink
[Evaluation] fixes incorrect migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed Nov 30, 2022
1 parent c504c7c commit 50d6a86
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

namespace Claroline\CoreBundle\Installation\Migrations\pdo_mysql;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

/**
* Auto-generated migration based on mapping information: modify it with caution.
*
* Generation date: 2022/11/10 09:32:44
*/
class Version20221130090000 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('
UPDATE claro_resource_node SET required = true WHERE evaluated = true
');
}

public function down(Schema $schema): void
{
}
}

0 comments on commit 50d6a86

Please sign in to comment.