mirror of
https://github.com/tchapi/davis.git
synced 2025-04-21 21:11:59 +02:00
Lint files
This commit is contained in:
parent
861d97b943
commit
0a6e0d67ce
@ -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
|
||||
{
|
||||
|
@ -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;');
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user