mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-30 04:42:19 -05:00
populate user_config
This commit is contained in:
parent
76e9ca2acf
commit
04b55e97de
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user