1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-24 00:08:57 -05:00

Create sqlite table tags_entries only if not already exists

This commit is contained in:
adev 2014-01-05 15:03:05 +01:00
parent 2abcccb371
commit a562e3905a

View File

@ -81,7 +81,7 @@ class Database {
if (STORAGE == 'sqlite') {
$sql = '
CREATE TABLE tags_entries (
CREATE TABLE IF NOT EXISTS tags_entries (
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL UNIQUE,
entry_id INTEGER,
tag_id INTEGER,