diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a7c9bd1e..a25b691ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to ## Unreleased +* [storedobject] add title field on StoredObject entity + use it in activity documents (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/604) * [main] add a "read more..." on comment embeddable when overflown (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/604) * [admin] refactorisation of the admin section: reorganisation of the menu, translations, form types, new entities (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/592) diff --git a/src/Bundle/ChillDocStoreBundle/migrations/Version20220525141646.php b/src/Bundle/ChillDocStoreBundle/migrations/Version20220525141646.php index c3f92dd7b..71f251db7 100644 --- a/src/Bundle/ChillDocStoreBundle/migrations/Version20220525141646.php +++ b/src/Bundle/ChillDocStoreBundle/migrations/Version20220525141646.php @@ -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 \'\' '); diff --git a/src/Bundle/ChillMainBundle/migrations/Version20220513151853.php b/src/Bundle/ChillMainBundle/migrations/Version20220513151853.php index 31319ce1b..ec99ce2ba 100644 --- a/src/Bundle/ChillMainBundle/migrations/Version20220513151853.php +++ b/src/Bundle/ChillMainBundle/migrations/Version20220513151853.php @@ -1,5 +1,12 @@ addSql('update users set attributes = \'[]\'::json where attributes IS NULL'); } - - public function down(Schema $schema): void - { - - } }