
INSERT INTO artist (id, gid, name, sort_name, comment)
    VALUES (1, '5f9913b0-7219-11de-8a39-0800200c9a66', 'ABBA', 'ABBA', 'ABBA 1'),
           (2, '5f9913b0-7219-11de-8a39-0800200c9a67', 'ABBA', 'ABBA', 'ABBA 2');

INSERT INTO artist_credit (id, name, artist_count) VALUES (1, 'ABBA', 1), (2, 'ABBA', 1);
INSERT INTO artist_credit_name (artist_credit, position, artist, name, join_phrase)
    VALUES (1, 0, 1, 'ABBA', ''), (2, 0, 2, 'ABBA', '');

INSERT INTO work_type (id, name) VALUES (1, 'Composition');

INSERT INTO work (id, gid, name, type, edits_pending, comment)
    VALUES (1, '745c079d-374e-4436-9448-da92dedef3ce', 'Dancing Queen',
        1, 0, 'Work');
INSERT INTO iswc (id, work, iswc) VALUES (1, 1, 'T-000.000.001-0');

INSERT INTO work (id, gid, name, type, edits_pending, comment)
    VALUES (5, '755c079d-374e-4436-9448-da92dedef3ce', 'Test',
        1, 0, 'Work');
INSERT INTO iswc (id, work, iswc) VALUES (2, 5, 'T-500.000.001-0'), (3, 5, 'T-500.000.002-0');

INSERT INTO work (id, gid, name, type, edits_pending, comment)
    VALUES (10, '105c079d-374e-4436-9448-da92dedef3ce', 'Test',
        1, 0, 'Work');

INSERT INTO work (id, gid, name) VALUES (2, '745c079d-374e-4436-9448-da92dedef3cf', 'Test');
INSERT INTO iswc (id, work, iswc) VALUES (4, 2, 'T-000.000.002-0');

INSERT INTO work_gid_redirect VALUES ('28e73402-5666-4d74-80ab-c3734dc699ea', 1);

INSERT INTO editor (id, name, password, ha1) VALUES (100, 'annotation_editor', '{CLEARTEXT}password', '41bd7f7951ccec2448f74bed1b7bc6cb');
INSERT INTO annotation (id, editor, text, changelog) VALUES (1, 100, 'Annotation', 'change');
INSERT INTO work_annotation (work, annotation) VALUES (1, 1);

ALTER SEQUENCE work_id_seq RESTART 3;
ALTER SEQUENCE iswc_id_seq RESTART 5;
ALTER SEQUENCE artist_credit_id_seq RESTART 3;
