X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2FDoctrineMigrations%2FVersion20171218135243.php;h=f1ab7c1d6558bde1c1e80fa738174311f832b053;hb=e2a48a6e82676a47c26b984476840e90976dabf0;hp=7b3fc6669f8ab19d8f0b3bbd8371e073d6da5b9e;hpb=024e9abf38f4c72566ff37bc0c1a1d3637fe632e;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/DoctrineMigrations/Version20171218135243.php b/app/DoctrineMigrations/Version20171218135243.php index 7b3fc666..f1ab7c1d 100644 --- a/app/DoctrineMigrations/Version20171218135243.php +++ b/app/DoctrineMigrations/Version20171218135243.php @@ -33,9 +33,6 @@ class Version20171218135243 extends AbstractMigration implements ContainerAwareI $this->skipIf($entryTable->hasIndex($this->indexGivenUrl), 'It seems that you already played this migration.'); switch ($this->connection->getDatabasePlatform()->getName()) { - case 'sqlite': - $sql = 'CREATE UNIQUE INDEX ' . $this->indexGivenUrl . ' ON ' . $this->getTable('entry') . ' (url, given_url, user_id);'; - break; case 'mysql': $sql = 'CREATE INDEX ' . $this->indexGivenUrl . ' ON ' . $this->getTable('entry') . ' (url (255), given_url (255), user_id);'; break;