mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Properly quote users table for compatibility with newer MySQL databases
This commit is contained in:
parent
363b7bc314
commit
71b0c2d83e
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue