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

Commit 98ff24fe authored by clint's avatar clint

now_playing/scrobble_sessions foreign key cascade deletion

parent cb771bcf
......@@ -184,7 +184,7 @@ if (isset($_POST['install'])) {
expires INTEGER)");
$adodb->Execute("CREATE TABLE Now_Playing(
sessionid VARCHAR(32) PRIMARY KEY REFERENCES Scrobble_Sessions(sessionid),
sessionid VARCHAR(32) PRIMARY KEY REFERENCES Scrobble_Sessions(sessionid) ON DELETE CASCADE,
track VARCHAR(255),
artist VARCHAR(255) REFERENCES Artist(name),
album VARCHAR(255),
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