]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Removed SQLite migration store-resolved-url
authorNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 22 Dec 2017 10:23:39 +0000 (11:23 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 22 Dec 2017 10:23:39 +0000 (11:23 +0100)
app/DoctrineMigrations/Version20171218135243.php

index 7b3fc6669f8ab19d8f0b3bbd8371e073d6da5b9e..f1ab7c1d6558bde1c1e80fa738174311f832b053 100644 (file)
@@ -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;