mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-15 13:51:24 +00:00
Apply new rector rules regarding to PHP version to 8.4
This commit is contained in:
@@ -16,6 +16,7 @@ use Doctrine\Migrations\AbstractMigration;
|
||||
|
||||
final class Version20241118151618 extends AbstractMigration
|
||||
{
|
||||
#[\Override]
|
||||
public function getDescription(): string
|
||||
{
|
||||
return 'Force no duplicated object_id within person_document and accompanyingcourse_document';
|
||||
@@ -33,6 +34,7 @@ final class Version20241118151618 extends AbstractMigration
|
||||
$this->addSql('CREATE UNIQUE INDEX person_document_unique_stored_object ON chill_doc.person_document (object_id)');
|
||||
}
|
||||
|
||||
#[\Override]
|
||||
public function down(Schema $schema): void
|
||||
{
|
||||
$this->addSql('DROP INDEX acc_course_document_unique_stored_object');
|
||||
|
||||
Reference in New Issue
Block a user