From 04b55e97deb5f32d112f7a03839787bc6afbb2b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 7 Aug 2013 21:16:12 +0200 Subject: [PATCH] populate user_config --- install/update_sqlite_from_0_to_1.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install/update_sqlite_from_0_to_1.php b/install/update_sqlite_from_0_to_1.php index f3801eb..c88af54 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 $query = $handle->prepare($sql); $query->execute(); +$sql = 'INSERT INTO users_config (user_id, name, value) VALUES (1, "pager", "10");'; +$query = $handle->prepare($sql); +$query->execute(); + +$sql = 'INSERT INTO users_config (user_id, name, value) VALUES (1, "language", "en_EN.UTF8");'; +$query = $handle->prepare($sql); +$query->execute(); + # Suppression de la table temporaire $sql = 'DROP TABLE tempEntries;'; $query = $handle->prepare($sql);