Skip to content

Commit

Permalink
More updates for test SQL.
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlecat committed Mar 26, 2016
1 parent 735e399 commit f630a14
Show file tree
Hide file tree
Showing 19 changed files with 68 additions and 94 deletions.
3 changes: 0 additions & 3 deletions admin/sql/InsertTestData.sql
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ INSERT INTO release_label (id, release, label, catalog_number)
INSERT INTO url (id, gid, url)
VALUES (1, '9201840b-d810-4e0f-bb75-c791205f5b24', 'http://musicbrainz.org/');

INSERT INTO medium_format (id, name, gid) VALUES (1, 'CD', 'f37c079d-374e-4436-9448-da92dedef3ce');
INSERT INTO medium_format (id, name, gid) VALUES (2, 'Vinyl', 'f35c079d-374e-4436-9448-da92dedef3ce');

INSERT INTO medium (id, release, position, format, name) VALUES (1, 1, 1, 1, 'The First Disc');
INSERT INTO medium (id, release, position, format, name) VALUES (2, 1, 2, 1, 'The Second Disc');

Expand Down
2 changes: 1 addition & 1 deletion t/lib/t/MusicBrainz/Server/Controller/WS/2/LookupWork.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ MusicBrainz::Server::Test->prepare_test_database($c, '+webservice_annotation');
MusicBrainz::Server::Test->prepare_test_database($c, <<'EOSQL');
INSERT INTO iswc (work, iswc)
VALUES ( (SELECT id FROM work WHERE gid = '3c37b9fa-a6c1-37d2-9e90-657a116d337c'), 'T-000.000.002-0');
INSERT INTO work_attribute_type (id, name, free_text) VALUES (1, 'Key', true);
INSERT INTO work_attribute_type (id, gid, name, free_text) VALUES (1, '345c079d-374e-4436-9448-da92dedef3ce', 'Key', true);
INSERT INTO work_attribute VALUES (1, 1307406, 1, NULL, 'B major');
EOSQL

Expand Down
13 changes: 8 additions & 5 deletions t/lib/t/MusicBrainz/Server/Controller/Work/Edit.pm
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,15 @@ test 'Editing works with attributes' => sub {
-- We aren't interested in ISWC editing
DELETE FROM iswc;
INSERT INTO work_attribute_type (id, name, free_text)
INSERT INTO work_attribute_type (id, gid, name, free_text)
VALUES
(1, 'Attribute', false),
(2, 'Free attribute', true);
INSERT INTO work_attribute_type_allowed_value (id, work_attribute_type, value)
VALUES (1, 1, 'Value'), (2, 1, 'Value 2'), (3, 1, 'Value 3');
(1, '325c079d-374e-4436-9448-da92dedef3ce', 'Attribute', false),
(2, '425c079d-374e-4436-9448-da92dedef3ce', 'Free attribute', true);
INSERT INTO work_attribute_type_allowed_value (id, gid, work_attribute_type, value)
VALUES
(1, '325c079a-374e-4436-9448-da92dedef3ce', 1, 'Value'),
(2, '625c079a-375s-4436-9448-da92dedef3ce', 1, 'Value 2'),
(3, '125c079a-374e-4436-9448-da92dedef3ce', 1, 'Value 3');
EOSQL

$mech->get_ok('/login');
Expand Down
1 change: 0 additions & 1 deletion t/lib/t/MusicBrainz/Server/Data/Artwork.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ INSERT INTO edit (id, editor, type, status, data, expire_time)
VALUES (1, 1, 1, 1, '', now()), (2, 1, 1, 1, '', now());
INSERT INTO cover_art_archive.art_type (id, name) VALUES (1, 'Front');
INSERT INTO cover_art_archive.image_type (mime_type, suffix)
VALUES ('image/png', 'png');
INSERT INTO cover_art_archive.cover_art
Expand Down
2 changes: 1 addition & 1 deletion t/lib/t/MusicBrainz/Server/Data/Medium.pm
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ test all => sub {
my $test = shift;
MusicBrainz::Server::Test->prepare_test_database($test->c, '+tracklist');
MusicBrainz::Server::Test->prepare_test_database($test->c,
"INSERT INTO medium_format (id, name) VALUES (2, 'Telepathic Transmission')");
"INSERT INTO medium_format (id, name, gid) VALUES (2, 'Telepathic Transmission', '52114420-cae8-11de-8a39-0800200c9a66')");

my $medium_data = MusicBrainz::Server::Data::Medium->new(c => $test->c);

Expand Down
60 changes: 36 additions & 24 deletions t/lib/t/MusicBrainz/Server/Data/Work.pm
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ test 'Loading work attributes for works with free text attributes' => sub {

MusicBrainz::Server::Test->prepare_test_database($test->c, '+work');
$test->c->sql->do(<<EOSQL);
INSERT INTO work_attribute_type (id, name, free_text)
VALUES (1, 'Attribute', true);
INSERT INTO work_attribute_type (id, gid, name, free_text)
VALUES (1, '125c079d-374e-4436-9448-da92dedef3ce', 'Attribute', true);
EOSQL

$test->c->model('Work')->set_attributes(
Expand All @@ -202,10 +202,12 @@ test 'Loading work attributes for works with finite values' => sub {

MusicBrainz::Server::Test->prepare_test_database($test->c, '+work');
$test->c->sql->do(<<EOSQL);
INSERT INTO work_attribute_type (id, name, free_text)
VALUES (1, 'Attribute', false);
INSERT INTO work_attribute_type_allowed_value (id, work_attribute_type, value)
VALUES (1, 1, 'Value'), (2, 1, 'Value 2');
INSERT INTO work_attribute_type (id, gid, name, free_text)
VALUES (1, '326c079d-374e-4436-9448-da92dedef3ce', 'Attribute', false);
INSERT INTO work_attribute_type_allowed_value (id, gid, work_attribute_type, value)
VALUES
(1, '325c079a-374e-4436-9448-da92dedef3ce', 1, 'Value'),
(2, '625c079a-375s-4436-9448-da92dedef3ce', 1, 'Value 2');
EOSQL

$test->c->model('Work')->set_attributes(
Expand All @@ -230,10 +232,12 @@ test 'Multiple attributes for a work' => sub {

MusicBrainz::Server::Test->prepare_test_database($test->c, '+work');
$test->c->sql->do(<<EOSQL);
INSERT INTO work_attribute_type (id, name, free_text)
VALUES (1, 'Attribute', false), (2, 'Type two', true);
INSERT INTO work_attribute_type_allowed_value (id, work_attribute_type, value)
VALUES (1, 1, 'Value'), (2, 1, 'Value 2');
INSERT INTO work_attribute_type (id, gid, name, free_text)
VALUES (1, '825c079d-374e-4436-9448-da92dedef3ce', 'Attribute', false), (2, 'Type two', true);
INSERT INTO work_attribute_type_allowed_value (id, gid, work_attribute_type, value)
VALUES
(1, '325c079a-374e-4436-9448-da92dedef3ce', 1, 'Value'),
(2, '625c079a-375s-4436-9448-da92dedef3ce', 1, 'Value 2');
EOSQL

$test->c->model('Work')->set_attributes(
Expand All @@ -258,13 +262,16 @@ test 'Determining allowed values for work attributes' => sub {
my $test = shift;

$test->c->sql->do(<<EOSQL);
INSERT INTO work_attribute_type (id, name, free_text)
INSERT INTO work_attribute_type (id, gid, name, free_text)
VALUES
(1, 'Attribute', false),
(2, 'Free attribute', true),
(3, 'Attribute 3', false);
INSERT INTO work_attribute_type_allowed_value (id, work_attribute_type, value)
VALUES (1, 1, 'Value'), (2, 1, 'Value 2'), (3, 3, 'Value 3');
(1, '325c079d-374e-4436-9448-da92dedef3cd', 'Attribute', false),
(2, '325c079d-374e-4436-9448-da92dedef3ch', 'Free attribute', true),
(3, '325c079d-374e-4436-9448-da92dedef3ca', 'Attribute 3', false);
INSERT INTO work_attribute_type_allowed_value (id, gid, work_attribute_type, value)
VALUES
(1, '325c079a-374e-4436-9448-da92dedef3ce', 1, 'Value'),
(2, '625c079a-375s-4436-9448-da92dedef3ce', 1, 'Value 2'),
(3, '125c079a-374e-4436-9448-da92dedef3ce', 1, 'Value 3');
EOSQL

my $types = $test->c->model('WorkAttributeType')->get_by_ids(1..3);
Expand All @@ -286,13 +293,16 @@ test 'Merge attributes for works' => sub {
my $work_data = $test->c->model('Work');

$test->c->sql->do(<<EOSQL);
INSERT INTO work_attribute_type (id, name, free_text)
INSERT INTO work_attribute_type (id, gid, name, free_text)
VALUES
(1, '325c079d-374e-4436-9448-da92dedef3cd', 'Attribute', false),
(2, '325c079d-374e-4436-9448-da92dedef3ch', 'Free attribute', true),
(3, '325c079d-374e-4436-9448-da92dedef3ca', 'Attribute 3', false);
INSERT INTO work_attribute_type_allowed_value (id, gid, work_attribute_type, value)
VALUES
(1, 'Attribute', false),
(2, 'Free attribute', true),
(3, 'Attribute 3', false);
INSERT INTO work_attribute_type_allowed_value (id, work_attribute_type, value)
VALUES (1, 1, 'Value'), (2, 1, 'Value 2'), (3, 3, 'Value 3');
(1, '325c079a-374e-4436-9448-da92dedef3ce', 1, 'Value'),
(2, '625c079a-375s-4436-9448-da92dedef3ce', 1, 'Value 2'),
(3, '125c079a-374e-4436-9448-da92dedef3ce', 1, 'Value 3');
EOSQL

my $a = $work_data->insert({ name => 'Traits' });
Expand Down Expand Up @@ -346,8 +356,10 @@ test 'Deleting a work with work attributes' => sub {
my $work_data = $test->c->model('Work');

$test->c->sql->do(<<EOSQL);
INSERT INTO work_attribute_type (id, name, free_text) VALUES (1, 'Attribute', false);
INSERT INTO work_attribute_type_allowed_value (id, work_attribute_type, value) VALUES (1, 1, 'Value');
INSERT INTO work_attribute_type (id, gid, name, free_text)
VALUES (1, '325c079d-374e-4436-9448-da92dedef3ch', 'Attribute', false);
INSERT INTO work_attribute_type_allowed_value (id, gid, work_attribute_type, value)
VALUES (1, '842c079d-374e-4436-9448-da92dedef3ch', 1, 'Value');
EOSQL

my $a = $work_data->insert({ name => 'Foo' });
Expand Down
6 changes: 0 additions & 6 deletions t/lib/t/MusicBrainz/Server/Edit/Release/AddCoverArt.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ test 'Accepting replaces current art' => sub {
my $c = $test->c;

MusicBrainz::Server::Test->prepare_test_database($c, '+release');
MusicBrainz::Server::Test->prepare_test_database($c, <<'EOSQL');
INSERT INTO cover_art_archive.art_type (id, name) VALUES (1, 'Front');
EOSQL

my $edit = create_edit($c);

Expand All @@ -34,9 +31,6 @@ test 'Rejecting cleans up pending artwork' => sub {
my $c = $test->c;

MusicBrainz::Server::Test->prepare_test_database($c, '+release');
MusicBrainz::Server::Test->prepare_test_database($c, <<'EOSQL');
INSERT INTO cover_art_archive.art_type (id, name) VALUES (1, 'Front');
EOSQL

my $edit = create_edit($c);

Expand Down
12 changes: 8 additions & 4 deletions t/lib/t/MusicBrainz/Server/Edit/Work/Edit.pm
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,14 @@ test 'Check conflicts (non-conflicting edits)' => sub {

MusicBrainz::Server::Test->prepare_test_database($c, '+edit_work');
$c->sql->do(<<EOSQL);
INSERT INTO work_attribute_type (id, name, free_text)
VALUES (1, 'Attribute', false), (2, 'Type two', true);
INSERT INTO work_attribute_type_allowed_value (id, work_attribute_type, value)
VALUES (10, 1, 'Value'), (2, 1, 'Value 2');
INSERT INTO work_attribute_type (id, gid, name, free_text)
VALUES
(1, '325c079d-374e-4436-9448-da92dedef3ca', 'Attribute', false),
(2, '525c079d-374e-4436-9448-da92dedef3cd', 'Type two', true);
INSERT INTO work_attribute_type_allowed_value (id, gid, work_attribute_type, value)
VALUES
(10, '124c079d-374e-4436-9448-da92dedef3ch', 1, 'Value'),
(2, '224c079d-374e-4436-9448-da92dedef3ch', 1, 'Value 2');
EOSQL

my $edit_1 = $c->model('Edit')->create(
Expand Down
10 changes: 5 additions & 5 deletions t/pgtap/allows_full_text.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ SELECT no_plan();
-- Test setup. See below for tests.
INSERT INTO work (id, gid, name)
VALUES (1, '86a36512-88e8-4346-b7bf-1ecbb7b43fb3', 'blah');
INSERT INTO work_attribute_type (id, name, comment, free_text)
VALUES (1, 'with_text', '', TRUE),
(2, 'no_text', '', FALSE);
INSERT INTO work_attribute_type_allowed_value (id, work_attribute_type, value)
VALUES (1, 2, 'blah');
INSERT INTO work_attribute_type (id, gid, name, comment, free_text)
VALUES (1, '325c079d-374e-4436-9448-da92dedef3ch', 'with_text', '', TRUE),
(2, '765c079d-374e-4436-9448-da92dedef3ch', 'no_text', '', FALSE);
INSERT INTO work_attribute_type_allowed_value (id, gid, work_attribute_type, value)
VALUES (1, '812c079d-374e-4436-9448-da92dedef3ca', 2, 'blah');

-- Ensure that only attribute types that allow text can have text added and that the CHECK constraint works

Expand Down
1 change: 0 additions & 1 deletion t/sql/caa.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ INSERT INTO release (id, gid, name, artist_credit, release_group)
INSERT INTO cover_art_archive.image_type (mime_type, suffix) VALUES ('image/jpeg', 'jpg');

INSERT INTO edit (id, editor, type, data, status, expire_time) VALUES (1, 10, 316, '', 2, now());
INSERT INTO cover_art_archive.art_type (id, name) VALUES (1, 'Front');
INSERT INTO cover_art_archive.cover_art (id, release, mime_type, edit, ordering) VALUES (12345, 1, 'image/jpeg', 1, 1);
INSERT INTO cover_art_archive.cover_art_type (id, type_id) VALUES (12345, 1);
2 changes: 0 additions & 2 deletions t/sql/controller_cdtoc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ INSERT INTO release_group (id, name, artist_credit, gid) VALUES
INSERT INTO release (id, name, artist_credit, release_group, gid) VALUES
(1, 'Aerial', 1, 1, '85455330-cae8-11de-8a39-0800200c9a66');

INSERT INTO medium_format (id, name) VALUES (1, 'CD');

INSERT INTO medium (id, release, track_count, position, format) VALUES (1, 1, 0, 1, 1);

INSERT INTO cdtoc (id, discid, freedb_id, track_count, leadout_offset, track_offset) VALUES
Expand Down
13 changes: 0 additions & 13 deletions t/sql/cover_art_types.sql
Original file line number Diff line number Diff line change
@@ -1,15 +1,2 @@

INSERT INTO cover_art_archive.art_type (id, name) VALUES ( 2, 'Back');
INSERT INTO cover_art_archive.art_type (id, name) VALUES ( 3, 'Booklet');
INSERT INTO cover_art_archive.art_type (id, name) VALUES ( 4, 'Medium');
INSERT INTO cover_art_archive.art_type (id, name) VALUES ( 5, 'Obi');
INSERT INTO cover_art_archive.art_type (id, name) VALUES ( 6, 'Spine');
INSERT INTO cover_art_archive.art_type (id, name) VALUES ( 7, 'Track');
INSERT INTO cover_art_archive.art_type (id, name) VALUES ( 8, 'Other');
INSERT INTO cover_art_archive.art_type (id, name) VALUES ( 9, 'Tray');
INSERT INTO cover_art_archive.art_type (id, name) VALUES (10, 'Sticker');

INSERT INTO cover_art_archive.image_type (mime_type, suffix) VALUES ('image/png', 'png');
INSERT INTO cover_art_archive.image_type (mime_type, suffix) VALUES ('image/gif', 'gif');


2 changes: 0 additions & 2 deletions t/sql/create_medium.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@ INSERT INTO release_group (id, gid, name, artist_credit)
INSERT INTO release (id, gid, name, artist_credit, release_group)
VALUES (1, '6a7d1660-792f-11de-8a39-0800200c9a66', 'No Hassle', 1, 1);

INSERT INTO medium_format (id, name) VALUES (1, 'CD');

INSERT INTO recording (id, gid, name, artist_credit)
VALUES (1, 'a037f860-792f-11de-8a39-0800200c9a66', 'Track', 1);
2 changes: 0 additions & 2 deletions t/sql/data_durationlookup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ INSERT INTO release_group (id, gid, name, artist_credit) VALUES (1, '7c3218d7-75
INSERT INTO release (id, gid, name, artist_credit, release_group) VALUES (1, 'f205627f-b70a-409d-adbe-66289b614e80', 'Aerial', 1, 1), (2, '9b3d9383-3d2a-417f-bfbb-56f7c15f075b', 'Aerial', 1, 1);
INSERT INTO release_unknown_country (release, date_year, date_month, date_day) VALUES (1, 2007, null, null);
INSERT INTO release_unknown_country (release, date_year, date_month, date_day) VALUES (2, 2008, null, null);
;

INSERT INTO medium_format (id, name) VALUES (1, 'Format');
INSERT INTO medium (id, release, position, format, name) VALUES (1, 1, 1, 1, 'A Sea of Honey');
INSERT INTO medium (id, release, position, format, name) VALUES (2, 1, 2, 1, 'A Sky of Honey');

Expand Down
1 change: 0 additions & 1 deletion t/sql/decompose.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ INSERT INTO release (id, gid, name, artist_credit, release_group)
INSERT INTO recording (id, gid, name, artist_credit)
VALUES (1, '945c079d-374e-4436-9448-da92dedef3cf', 'Track', 1);

INSERT INTO medium_format (id, name, has_discids) VALUES (1, 'CD', FALSE);
INSERT INTO medium (id, release, position, format) VALUES (1, 1, 1, 1);
INSERT INTO track (id, gid, name, artist_credit, recording, medium, position, number)
VALUES (1, '164f2789-f13a-43d6-8136-ca6804932e39', 'Track', 1, 1, 1, 1, 1);
2 changes: 0 additions & 2 deletions t/sql/edit_medium.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ INSERT INTO medium (id, track_count, release, position, name)
VALUES (1, 0, 1, 1, 'Medium Name'),
(2, 0, 2, 1, 'Medium w/ Pregap');

INSERT INTO medium_format (id, name, has_discids) VALUES (1, 'CD', 't');

INSERT INTO recording (id, gid, name, artist_credit)
VALUES (1, 'a037f860-792f-11de-8a39-0800200c9a66', 'Track', 1),
(2, '58ecb4a2-5080-4c3f-84a0-6f4b42cab567', 'Pregap Track', 1);
8 changes: 4 additions & 4 deletions t/sql/mbs-8614.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ INSERT INTO script (frequency, id, iso_code, iso_number, name) VALUES
INSERT INTO release (artist_credit, barcode, comment, edits_pending, gid, id, language, last_updated, name, packaging, quality, release_group, script, status) VALUES
(11617, NULL, '', 1, '142015fb-3775-4b25-9d4a-51e0bd289ef4', 1231807, NULL, '2015-10-29 21:00:55.471066+00', 'Diana', NULL, -1, 71076, 28, NULL),
(11617, NULL, '', 1, '765435fa-1e6e-40aa-bef2-2d09f367ef44', 1231808, NULL, '2015-10-26 20:04:18.393064+00', 'Diana', NULL, -1, 71076, 28, NULL);
INSERT INTO medium_format (child_order, description, has_discids, id, name, parent, year) VALUES
(0, NULL, '1', 1, 'CD', NULL, 1982);
INSERT INTO medium_format (child_order, description, has_discids, id, gid, name, parent, year) VALUES
(123456, NULL, '1', 1, '52014420-cae8-11de-8a39-0800200c9a66', 'CD', NULL, 1982);
INSERT INTO medium (edits_pending, format, id, last_updated, name, position, release, track_count) VALUES
(0, 1, 1260623, '2012-12-17 00:04:14.60624+00', '', 1, 1231807, 18),
(0, 1, 1260624, '2012-12-17 00:07:47.571271+00', '', 1, 1231808, 18);
(0, 123456, 1260623, '2012-12-17 00:04:14.60624+00', '', 1, 1231807, 18),
(0, 123456, 1260624, '2012-12-17 00:07:47.571271+00', '', 1, 1231808, 18);
INSERT INTO recording (artist_credit, comment, edits_pending, gid, id, last_updated, length, name, video) VALUES
(11617, '', 0, '8289ea80-fa72-4af3-9f7b-a711791e6fe8', 518579, '2015-10-26 04:03:35.419964+00', 140666, 'Diana', '0'),
(11617, '', 0, '6e78e763-2ddd-4b01-847f-32b1982026b4', 518580, '2015-10-26 20:04:19.620173+00', 145066, 'Lonely Boy', '0'),
Expand Down
12 changes: 0 additions & 12 deletions t/sql/mediumformat.sql
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@

SET client_min_messages TO 'WARNING';



INSERT INTO medium_format (id, name, year) VALUES (1, 'CD', 1982);
INSERT INTO medium_format (id, name) VALUES (2, 'Vinyl');

INSERT INTO medium_format (id, name, year, child_order, parent) VALUES
(3, '7"', NULL, 0, 2),
(4, '12"', NULL, 1, 2);


10 changes: 5 additions & 5 deletions t/sql/tracklist.sql
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ INSERT INTO release (id, gid, name, artist_credit, release_group)
INSERT INTO release_unknown_country (release, date_year)
VALUES (1, 2007), (2, 2008);

INSERT INTO medium_format (id, name, has_discids) VALUES (1, 'Format', TRUE);
INSERT INTO medium (id, release, position, format, name) VALUES (1, 1, 1, 1, 'A Sea of Honey');
INSERT INTO medium (id, release, position, format, name) VALUES (2, 1, 2, 1, 'A Sky of Honey');
INSERT INTO medium_format (id, gid, name, has_discids) VALUES (123465, '52014420-cae8-11de-8a39-0800200c9a26', 'Format', TRUE);
INSERT INTO medium (id, release, position, format, name) VALUES (1, 1, 1, 123465, 'A Sea of Honey');
INSERT INTO medium (id, release, position, format, name) VALUES (2, 1, 2, 123465, 'A Sky of Honey');

INSERT INTO medium (id, release, position, format, name) VALUES (3, 2, 1, 1, 'A Sea of Honey');
INSERT INTO medium (id, release, position, format, name) VALUES (4, 2, 2, 1, 'A Sky of Honey');
INSERT INTO medium (id, release, position, format, name) VALUES (3, 2, 1, 123465, 'A Sea of Honey');
INSERT INTO medium (id, release, position, format, name) VALUES (4, 2, 2, 123465, 'A Sky of Honey');

INSERT INTO track (id, gid, medium, position, number, recording, name, artist_credit, length) VALUES (1, '66c2ebff-86a8-4e12-a9a2-1650fb97d9d8', 1, 1, 1, 1, 'King of the Mountain', 1, NULL);
INSERT INTO track (id, gid, medium, position, number, recording, name, artist_credit, length) VALUES (2, 'b0caa7d1-0d1e-483e-b22b-ec6ab7fada06', 1, 2, 2, 2, 'π', 1, 369680);
Expand Down

0 comments on commit f630a14

Please sign in to comment.