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

Commit ca1b4660 authored by Mike Sheldon's avatar Mike Sheldon

Add loved tracks table to install script

parent 14a9250c
......@@ -269,6 +269,12 @@ if (isset($_POST['install'])) {
artist varchar(255),
UNIQUE(userid, track, artist))");
$adodb->Execute("CREATE TABLE Loved_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