1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-30 12:52:24 -05:00

populate user_config

This commit is contained in:
Nicolas Lœuillet 2013-08-07 21:16:12 +02:00
parent 76e9ca2acf
commit 04b55e97de

View File

@ -51,6 +51,14 @@ $sql = 'CREATE TABLE users_config (id INTEGER PRIMARY KEY, user_id NUMERIC, name
$query = $handle->prepare($sql); $query = $handle->prepare($sql);
$query->execute(); $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 # Suppression de la table temporaire
$sql = 'DROP TABLE tempEntries;'; $sql = 'DROP TABLE tempEntries;';
$query = $handle->prepare($sql); $query = $handle->prepare($sql);