From 71b0c2d83e6ee8a0d3e9bc801f30e1f55657bfe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 8 Apr 2023 19:51:29 +0200 Subject: [PATCH] Properly quote users table for compatibility with newer MySQL databases --- migrations/Version20230402170923.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/Version20230402170923.php b/migrations/Version20230402170923.php index 2bb7acf3..016a10d0 100644 --- a/migrations/Version20230402170923.php +++ b/migrations/Version20230402170923.php @@ -27,7 +27,7 @@ final class Version20230402170923 extends AbstractMultiPlatformMigration $this->addSql('ALTER TABLE storelocations ADD id_owner INT DEFAULT NULL, ADD part_owner_must_match TINYINT(1) DEFAULT 0 NOT NULL'); $this->addSql('ALTER TABLE storelocations ADD CONSTRAINT FK_751702021E5A74C FOREIGN KEY (id_owner) REFERENCES `users` (id) ON DELETE SET NULL'); $this->addSql('CREATE INDEX IDX_751702021E5A74C ON storelocations (id_owner)'); - $this->addSql('ALTER TABLE users ADD about_me LONGTEXT NOT NULL'); + $this->addSql('ALTER TABLE `users` ADD about_me LONGTEXT NOT NULL'); $this->addSql('ALTER TABLE projects CHANGE description description LONGTEXT NOT NULL'); }