aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-07 21:16:12 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-07 21:16:12 +0200
commit04b55e97deb5f32d112f7a03839787bc6afbb2b9 (patch)
tree29d0926ad3fe547f529e0c7f58a21469d0f3eb0b
parent76e9ca2acf55731929e3d83c0af7d7ae78732a24 (diff)
downloadwallabag-04b55e97deb5f32d112f7a03839787bc6afbb2b9.tar.gz
wallabag-04b55e97deb5f32d112f7a03839787bc6afbb2b9.tar.zst
wallabag-04b55e97deb5f32d112f7a03839787bc6afbb2b9.zip
populate user_config1.0-beta1
-rw-r--r--install/update_sqlite_from_0_to_1.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/install/update_sqlite_from_0_to_1.php b/install/update_sqlite_from_0_to_1.php
index f3801eb1..c88af540 100644
--- a/install/update_sqlite_from_0_to_1.php
+++ b/install/update_sqlite_from_0_to_1.php
@@ -51,6 +51,14 @@ $sql = 'CREATE TABLE users_config (id INTEGER PRIMARY KEY, user_id NUMERIC, name
51$query = $handle->prepare($sql); 51$query = $handle->prepare($sql);
52$query->execute(); 52$query->execute();
53 53
54$sql = 'INSERT INTO users_config (user_id, name, value) VALUES (1, "pager", "10");';
55$query = $handle->prepare($sql);
56$query->execute();
57
58$sql = 'INSERT INTO users_config (user_id, name, value) VALUES (1, "language", "en_EN.UTF8");';
59$query = $handle->prepare($sql);
60$query->execute();
61
54# Suppression de la table temporaire 62# Suppression de la table temporaire
55$sql = 'DROP TABLE tempEntries;'; 63$sql = 'DROP TABLE tempEntries;';
56$query = $handle->prepare($sql); 64$query = $handle->prepare($sql);