mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-15 10:27:47 +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 Version20230328155010 extends AbstractMigration
|
||||
{
|
||||
#[\Override]
|
||||
public function getDescription(): string
|
||||
{
|
||||
return 'budget elements: restore the previous type to resource/charge kind if applicable';
|
||||
@@ -48,6 +49,7 @@ final class Version20230328155010 extends AbstractMigration
|
||||
SQL);
|
||||
}
|
||||
|
||||
#[\Override]
|
||||
public function down(Schema $schema): void
|
||||
{
|
||||
$this->addSql("UPDATE chill_budget.resource_type SET kind=md5(random()::text) WHERE kind = ''");
|
||||
|
||||
Reference in New Issue
Block a user