-- SQL statements which are executed at application startup if hibernate.hbm2ddl.auto is 'create' or 'create-drop'

INSERT INTO pdc_configuration (id, value, variable) VALUES (1, 'PDCSimulator', 'sendingApplication');
INSERT INTO pdc_configuration (id, value, variable) VALUES (2, 'IHE2', 'sendingFacility');
INSERT INTO pdc_configuration (id, value, variable) VALUES (3, '@PID.5.1^A*', 'queryString');
INSERT INTO pdc_configuration (id, value, variable) VALUES (4, '23', 'numberOfRowsToReturn');
INSERT INTO pdc_configuration (id, value, variable) VALUES (5, '', 'continuationPointer');

INSERT INTO app_configuration(id, variable, value) VALUES (6, 'application_admin_email', 'eric.poiseau@inria.fr');
INSERT INTO app_configuration(id, variable, value) VALUES (7, 'application_issue_tracker_url', 'http://gazelle.ihe.net/jira');
INSERT INTO app_configuration(id, variable, value) VALUES (8, 'application_name', 'PDQ PDC Simulator');
INSERT INTO app_configuration(id, variable, value) VALUES (9, 'application_release_notes_url', 'http://gazelle.ihe.net');
INSERT INTO app_configuration(id, variable, value) VALUES (10, 'application_time_zone', 'UTC+01');
INSERT INTO app_configuration(id, variable, value) VALUES (11, 'application_admin_name', 'Eric Poiseau');


SELECT pg_catalog.setval('app_configuration_id_seq', 12, true);

INSERT INTO gs_test_instance_status(id, keyword, label_to_display, description) VALUES (1, 'started', 'started', 'started');
INSERT INTO gs_test_instance_status(id, keyword, label_to_display, description) VALUES (2, 'completed', 'completed', 'completed');
SELECT pg_catalog.setval('gs_test_instance_status_id_seq', 2, true);
