mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-02 12:09:41 +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 Version20240918142723 extends AbstractMigration
|
||||
{
|
||||
#[\Override]
|
||||
public function getDescription(): string
|
||||
{
|
||||
return 'Fix not null and default values for activityreason, activityreasoncategory, comments on activity';
|
||||
@@ -31,6 +32,7 @@ final class Version20240918142723 extends AbstractMigration
|
||||
$this->addSql('ALTER TABLE activityreasoncategory ALTER name SET NOT NULL');
|
||||
}
|
||||
|
||||
#[\Override]
|
||||
public function down(Schema $schema): void
|
||||
{
|
||||
$this->addSql('ALTER TABLE activityreason ALTER name DROP DEFAULT');
|
||||
|
||||
Reference in New Issue
Block a user