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

Commit feb7b211 authored by tobyink's avatar tobyink

fix sql syntax

parent 7023c2dc
...@@ -128,7 +128,7 @@ if (isset($_POST['install'])) { ...@@ -128,7 +128,7 @@ if (isset($_POST['install'])) {
name_b VARCHAR(255) REFERENCES Artist(name), name_b VARCHAR(255) REFERENCES Artist(name),
PRIMARY KEY(name_a, name_b))"); PRIMARY KEY(name_a, name_b))");
$mdb2->query("CREATE SEQUENCE('track_id_seq');"); $mdb2->query("CREATE SEQUENCE track_id_seq;");
$mdb2->query("CREATE TABLE Track( $mdb2->query("CREATE TABLE Track(
id INTEGER NOT NULL DEFAULT nextval('track_id_seq'::regclass) PRIMARY KEY, id INTEGER NOT NULL DEFAULT nextval('track_id_seq'::regclass) PRIMARY KEY,
name VARCHAR(255), name 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