php code style + upd CHANGELOG

This commit is contained in:
nobohan
2022-05-27 09:39:36 +02:00
parent dbdf435721
commit 0a4ef3ad22
3 changed files with 18 additions and 11 deletions

View File

@@ -1,5 +1,12 @@
<?php
/**
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Chill\Migrations\Main;
@@ -9,6 +16,10 @@ use Doctrine\Migrations\AbstractMigration;
final class Version20220513151853 extends AbstractMigration
{
public function down(Schema $schema): void
{
}
public function getDescription(): string
{
return 'set default on attributes';
@@ -18,9 +29,4 @@ final class Version20220513151853 extends AbstractMigration
{
$this->addSql('update users set attributes = \'[]\'::json where attributes IS NULL');
}
public function down(Schema $schema): void
{
}
}