X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=install%2Fupdate_sqlite_from_0_to_1.php;h=c88af540c5d1ef5519d8bdf1e558ba29f3633c10;hb=7aa8ccc47d511f62fc46af53f7fc43d9bedebff3;hp=f3801eb1caa3ddad43cafe2f9c13e049200b912d;hpb=b916bcfccc5a8b1c1852c0bf39bb6f9837296a4e;p=github%2Fwallabag%2Fwallabag.git 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);