aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoradev <adev2000@gmail.com>2014-01-05 15:03:05 +0100
committeradev <adev2000@gmail.com>2014-01-05 15:03:05 +0100
commita562e3905ac67983b85853e5ace813b2de0e3807 (patch)
tree2fcd318ce8b21bf03d486244dba088839aa3e18b
parent2abcccb37180c17318f5226f5d4bc28f30b621ea (diff)
downloadwallabag-a562e3905ac67983b85853e5ace813b2de0e3807.tar.gz
wallabag-a562e3905ac67983b85853e5ace813b2de0e3807.tar.zst
wallabag-a562e3905ac67983b85853e5ace813b2de0e3807.zip
Create sqlite table tags_entries only if not already exists
-rw-r--r--inc/poche/Database.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Database.class.php b/inc/poche/Database.class.php
index d8b63859..04731821 100644
--- a/inc/poche/Database.class.php
+++ b/inc/poche/Database.class.php
@@ -81,7 +81,7 @@ class Database {
81 81
82 if (STORAGE == 'sqlite') { 82 if (STORAGE == 'sqlite') {
83 $sql = ' 83 $sql = '
84 CREATE TABLE tags_entries ( 84 CREATE TABLE IF NOT EXISTS tags_entries (
85 id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL UNIQUE, 85 id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL UNIQUE,
86 entry_id INTEGER, 86 entry_id INTEGER,
87 tag_id INTEGER, 87 tag_id INTEGER,