aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-12-22 11:23:39 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-12-22 11:23:39 +0100
commite2a48a6e82676a47c26b984476840e90976dabf0 (patch)
tree196573fb5143e09f5da7759444deb0efe415e095 /app
parent024e9abf38f4c72566ff37bc0c1a1d3637fe632e (diff)
downloadwallabag-store-resolved-url.tar.gz
wallabag-store-resolved-url.tar.zst
wallabag-store-resolved-url.zip
Removed SQLite migrationstore-resolved-url
Diffstat (limited to 'app')
-rw-r--r--app/DoctrineMigrations/Version20171218135243.php3
1 files changed, 0 insertions, 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
33 $this->skipIf($entryTable->hasIndex($this->indexGivenUrl), 'It seems that you already played this migration.'); 33 $this->skipIf($entryTable->hasIndex($this->indexGivenUrl), 'It seems that you already played this migration.');
34 34
35 switch ($this->connection->getDatabasePlatform()->getName()) { 35 switch ($this->connection->getDatabasePlatform()->getName()) {
36 case 'sqlite':
37 $sql = 'CREATE UNIQUE INDEX ' . $this->indexGivenUrl . ' ON ' . $this->getTable('entry') . ' (url, given_url, user_id);';
38 break;
39 case 'mysql': 36 case 'mysql':
40 $sql = 'CREATE INDEX ' . $this->indexGivenUrl . ' ON ' . $this->getTable('entry') . ' (url (255), given_url (255), user_id);'; 37 $sql = 'CREATE INDEX ' . $this->indexGivenUrl . ' ON ' . $this->getTable('entry') . ' (url (255), given_url (255), user_id);';
41 break; 38 break;