From 631db7df31e1dd0894ad0ee7bc048e98c1108569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Thu, 14 Aug 2025 22:37:40 +0200 Subject: [PATCH] Fixed postgresql migrations --- migrations/Version20250813214628.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/Version20250813214628.php b/migrations/Version20250813214628.php index 995ff0ae..5b9350b2 100644 --- a/migrations/Version20250813214628.php +++ b/migrations/Version20250813214628.php @@ -63,8 +63,8 @@ final class Version20250813214628 extends AbstractMultiPlatformMigration public function postgreSQLUp(Schema $schema): void { $this->convertArrayToJson(); - $this->addSql('ALTER TABLE webauthn_keys ALTER transports TYPE JSON'); - $this->addSql('ALTER TABLE webauthn_keys ALTER other_ui TYPE JSON'); + $this->addSql('ALTER TABLE webauthn_keys ALTER transports TYPE JSON USING transports::JSON'); + $this->addSql('ALTER TABLE webauthn_keys ALTER other_ui TYPE JSON USING other_ui::JSON'); } public function postgreSQLDown(Schema $schema): void