From 9dd463882c0f168197f2259043eafe68f605b496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 13 May 2022 17:23:10 +0200 Subject: [PATCH] fix dfault in db for user::attributes --- .../migrations/Version20220513151853.php | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/Bundle/ChillMainBundle/migrations/Version20220513151853.php diff --git a/src/Bundle/ChillMainBundle/migrations/Version20220513151853.php b/src/Bundle/ChillMainBundle/migrations/Version20220513151853.php new file mode 100644 index 000000000..31319ce1b --- /dev/null +++ b/src/Bundle/ChillMainBundle/migrations/Version20220513151853.php @@ -0,0 +1,26 @@ +addSql('update users set attributes = \'[]\'::json where attributes IS NULL'); + } + + public function down(Schema $schema): void + { + + } +}