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

@@ -15,20 +15,20 @@ use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Add title on storedObject
* Add title on storedObject.
*/
final class Version20220525141646 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add title on storedObject';
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE chill_doc.stored_object DROP title');
}
public function getDescription(): string
{
return 'Add title on storedObject';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE chill_doc.stored_object ADD title TEXT NOT NULL DEFAULT \'\' ');