From: Nicolas LÅ“uillet Date: Fri, 22 Dec 2017 10:23:39 +0000 (+0100) Subject: Removed SQLite migration X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=refs%2Fheads%2Fstore-resolved-url;hp=024e9abf38f4c72566ff37bc0c1a1d3637fe632e;p=github%2Fwallabag%2Fwallabag.git Removed SQLite migration --- 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;