From e2a48a6e82676a47c26b984476840e90976dabf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 22 Dec 2017 11:23:39 +0100 Subject: Removed SQLite migration --- app/DoctrineMigrations/Version20171218135243.php | 3 --- 1 file changed, 3 deletions(-) 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; -- cgit v1.2.3