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

Commit 8466c294 authored by Mike Sheldon's avatar Mike Sheldon

Add banned_tracks table to install script

parent 2f6a4866
......@@ -263,6 +263,12 @@ if (isset($_POST['install'])) {
JOIN Track t ON st.track = t.id
WHERE t.streamable = 1");
$adodb->Execute("CREATE TABLE Banned_Tracks (
userid INTEGER REFERENCES Users(uniqueid) ON DELETE CASCADE,
track varchar(255),
artist varchar(255),
UNIQUE(userid, track, artist))");
$adodb->Execute("CREATE TABLE User_Relationships (
uid1 INTEGER REFERENCES Users(uniqueid) ON DELETE CASCADE,
uid2 INTEGER REFERENCES Users(uniqueid) ON DELETE CASCADE,
......
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