Lint files

This commit is contained in:
tchapi 2022-11-26 23:25:10 +01:00
parent 861d97b943
commit 0a6e0d67ce
2 changed files with 1 additions and 3 deletions

View File

@ -8,7 +8,7 @@ use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Change VARBINARY to VARCHAR to allow better PostgreSQL support in later migrations
* Change VARBINARY to VARCHAR to allow better PostgreSQL support in later migrations.
*/
final class Version20221106220411 extends AbstractMigration
{

View File

@ -64,7 +64,6 @@ final class Version20221106220412 extends AbstractMigration
$this->addSql('ALTER TABLE groupmembers ADD CONSTRAINT FK_6F15EDAC7597D3FE FOREIGN KEY (member_id) REFERENCES principals (id) NOT DEFERRABLE INITIALLY IMMEDIATE;');
$this->addSql('ALTER TABLE calendarchanges ADD CONSTRAINT FK_737547E2B8CB7204 FOREIGN KEY (calendarid) REFERENCES calendars (id) NOT DEFERRABLE INITIALLY IMMEDIATE;');
$this->addSql('ALTER TABLE calendarobjects ADD CONSTRAINT FK_E14F332CB8CB7204 FOREIGN KEY (calendarid) REFERENCES calendars (id) NOT DEFERRABLE INITIALLY IMMEDIATE;');
}
public function down(Schema $schema): void
@ -105,6 +104,5 @@ final class Version20221106220412 extends AbstractMigration
$this->addSql('DROP TABLE users;');
$this->addSql('DROP TABLE calendarobjects;');
$this->addSql('DROP TABLE propertystorage;');
}
}