From: Nicolas LÅ“uillet Date: Wed, 7 Aug 2013 19:16:12 +0000 (+0200) Subject: populate user_config X-Git-Tag: 1.0-beta1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=04b55e97deb5f32d112f7a03839787bc6afbb2b9;p=github%2Fwallabag%2Fwallabag.git populate user_config --- 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 $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);