aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2014-01-05 10:39:44 -0800
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2014-01-05 10:39:44 -0800
commit9c9b22658979546ac3567f2be3e702d276e65106 (patch)
tree2fcd318ce8b21bf03d486244dba088839aa3e18b /inc
parent2abcccb37180c17318f5226f5d4bc28f30b621ea (diff)
parenta562e3905ac67983b85853e5ace813b2de0e3807 (diff)
downloadwallabag-9c9b22658979546ac3567f2be3e702d276e65106.tar.gz
wallabag-9c9b22658979546ac3567f2be3e702d276e65106.tar.zst
wallabag-9c9b22658979546ac3567f2be3e702d276e65106.zip
Merge pull request #382 from aaa2000/table_tags_entries_already_exists
Create sqlite table tags_entries only if not already exists
Diffstat (limited to 'inc')
-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,