We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 08be4082 authored by clint's avatar clint

untested pgsql granting

parent c46ae9b2
......@@ -177,6 +177,10 @@ if (isset($_POST['install'])) {
// $res = $mdb2->exec("CREATE INDEX scrobbles_artist_idx ON Scrobbles(artist)");
// $res = $mdb2->exec("CREATE INDEX scrobbles_time_idx ON Scrobbles(time)");
// uncomment these if you're using postgresql and want to run the software as www-data
// $res = $mdb2->exec("GRANT SELECT, UPDATE, INSERT, DELETE ON TABLE Album, Artist, Auth, Clientcodes, Error, Invitation_Request, Invitations, Now_Playing, Places, Radio_Sessions, Scrobble_Sessions, Scrobbles, Similar_artist, Tags, Track, Users to \"www-data\"");
// $res = $mdb2->exec("GRANT SELECT, UPDATE ON users_uniqueid_seq to \"www-data\"");
// Test user configuration
$res = $mdb2->query("INSERT INTO Users
(username, password, created)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment