mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-12 16:58:37 +00:00
Create sqlite table tags_entries only if not already exists
This commit is contained in:
parent
2abcccb371
commit
a562e3905a
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class Database {
|
||||||
|
|
||||||
if (STORAGE == 'sqlite') {
|
if (STORAGE == 'sqlite') {
|
||||||
$sql = '
|
$sql = '
|
||||||
CREATE TABLE tags_entries (
|
CREATE TABLE IF NOT EXISTS tags_entries (
|
||||||
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL UNIQUE,
|
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL UNIQUE,
|
||||||
entry_id INTEGER,
|
entry_id INTEGER,
|
||||||
tag_id INTEGER,
|
tag_id INTEGER,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue