-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
579c031
commit ac9efff
Showing
2 changed files
with
187 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
185 changes: 185 additions & 0 deletions
185
src/main/runtimes/liberty/resources/META-INF/sql/data.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
-- | ||
-- PostgreSQL database dump | ||
-- | ||
|
||
-- Dumped from database version 14.5 (Ubuntu 14.5-2.pgdg22.04+2) | ||
-- Dumped by pg_dump version 15.0 (Ubuntu 15.0-1.pgdg22.04+1) | ||
|
||
SET statement_timeout = 0; | ||
SET lock_timeout = 0; | ||
SET idle_in_transaction_session_timeout = 0; | ||
SET client_encoding = 'UTF8'; | ||
SET standard_conforming_strings = on; | ||
-- SELECT pg_catalog.set_config('search_path', '', false); | ||
SET check_function_bodies = false; | ||
SET xmloption = content; | ||
SET client_min_messages = warning; | ||
SET row_security = off; | ||
|
||
-- | ||
-- Data for Name: owner; Type: TABLE DATA; Schema: public; Owner: - | ||
-- | ||
|
||
SET SESSION AUTHORIZATION DEFAULT; | ||
|
||
VACUUM ; | ||
|
||
BEGIN TRANSACTION ; | ||
|
||
ALTER TABLE "public"."owner" DISABLE TRIGGER ALL; | ||
|
||
INSERT INTO "public"."owner" ("id", "address", "address_info", "city", "email", "first_name", "housenumber", "lastname", "phonenumber", "searchindex", "uuid", "zipcode") VALUES (23, 'Glatzer Str.', NULL, 'Berlin', '[email protected]', 'Thomas', '5a', 'Wöhlke', '+493052007953', 'Thomas W hlke Glatzer Str 5a 10247 Berlin 493052007953 thomas woehlke gmail com ', '6ee91567-a8eb-4c53-91fe-c4bd88ca3f11', '10247'); | ||
INSERT INTO "public"."owner" ("id", "address", "address_info", "city", "email", "first_name", "housenumber", "lastname", "phonenumber", "searchindex", "uuid", "zipcode") VALUES (24, 'Hill Drive', 'Auf dem Schrottplatz von Titus Jonas', 'Rocky Beach', '[email protected]', 'Justus', '128', 'Jonas', '+4923452007953', 'Auf dem Schrottplatz von Titus Jonas Justus Jonas Hill Drive 128 99777 Rocky Beach 4923452007953 thomas woehlke rub de ', '0349af29-16f3-4ffc-b3ab-e23daea5a90b', '99777'); | ||
|
||
|
||
ALTER TABLE "public"."owner" ENABLE TRIGGER ALL; | ||
|
||
-- | ||
-- Data for Name: owner_pet_pettype; Type: TABLE DATA; Schema: public; Owner: - | ||
-- | ||
|
||
ALTER TABLE "public"."owner_pet_pettype" DISABLE TRIGGER ALL; | ||
|
||
INSERT INTO "public"."owner_pet_pettype" ("id", "name", "searchindex", "uuid") VALUES (1, 'Dog', 'Dog ', 'f0d464c6-2149-4c6c-b477-bec0766b8052'); | ||
INSERT INTO "public"."owner_pet_pettype" ("id", "name", "searchindex", "uuid") VALUES (2, 'Cat', 'Cat ', 'b88b6449-b44b-4cc4-b30a-311a3d1c3361'); | ||
INSERT INTO "public"."owner_pet_pettype" ("id", "name", "searchindex", "uuid") VALUES (3, 'Mouse', 'Mouse ', '052ccd24-43e4-4181-8b32-ad3244b93199'); | ||
INSERT INTO "public"."owner_pet_pettype" ("id", "name", "searchindex", "uuid") VALUES (4, 'Hamster', 'Hamster ', 'ee0149cf-5efb-420c-8e81-93143b97dfea'); | ||
INSERT INTO "public"."owner_pet_pettype" ("id", "name", "searchindex", "uuid") VALUES (5, 'Rabbit', 'Rabbit ', '3f593756-7350-4580-8300-1b1e943dc026'); | ||
INSERT INTO "public"."owner_pet_pettype" ("id", "name", "searchindex", "uuid") VALUES (6, 'Fish', 'Fish ', '4fd9a619-d9a5-43c4-b725-ca17ab60159f'); | ||
INSERT INTO "public"."owner_pet_pettype" ("id", "name", "searchindex", "uuid") VALUES (8, 'Guinea pig', 'Guinea pig ', '3389ac8c-a541-4565-9577-3e93bdfc3ad1'); | ||
INSERT INTO "public"."owner_pet_pettype" ("id", "name", "searchindex", "uuid") VALUES (9, 'Pigeon', 'Pigeon ', '91cbd075-d8cc-4b92-a5a6-0db340ddf019'); | ||
INSERT INTO "public"."owner_pet_pettype" ("id", "name", "searchindex", "uuid") VALUES (10, 'Snake', 'Snake ', 'a23a4023-0c57-44a4-bc16-7949460b980e'); | ||
INSERT INTO "public"."owner_pet_pettype" ("id", "name", "searchindex", "uuid") VALUES (11, 'Spider', 'Spider ', '070aacf3-08ca-4820-a6ee-bd011dff4e21'); | ||
INSERT INTO "public"."owner_pet_pettype" ("id", "name", "searchindex", "uuid") VALUES (7, 'Pony', 'Pony ', 'd76b2627-af8d-4f7f-88e7-0fcee289f3ce'); | ||
INSERT INTO "public"."owner_pet_pettype" ("id", "name", "searchindex", "uuid") VALUES (12, 'Donkey', 'Donkey ', '3417d73c-c8a3-4034-b37b-c31ebcd4cb49'); | ||
|
||
|
||
ALTER TABLE "public"."owner_pet_pettype" ENABLE TRIGGER ALL; | ||
|
||
-- | ||
-- Data for Name: owner_pet; Type: TABLE DATA; Schema: public; Owner: - | ||
-- | ||
|
||
ALTER TABLE "public"."owner_pet" DISABLE TRIGGER ALL; | ||
|
||
INSERT INTO "public"."owner_pet" ("id", "birth_date", "name", "searchindex", "uuid", "owner_id", "owner_pet_pettype_id") VALUES (25, '2018-02-10', 'Roger', 'Roger ', '2fa7e4f8-4009-48eb-b175-54a3bd5d9e3a', 24, 5); | ||
INSERT INTO "public"."owner_pet" ("id", "birth_date", "name", "searchindex", "uuid", "owner_id", "owner_pet_pettype_id") VALUES (26, '2021-08-15', 'Jerry', 'Jerry ', '7cf6da17-52f0-401e-a8f8-8d7f3d63ea16', 24, 3); | ||
INSERT INTO "public"."owner_pet" ("id", "birth_date", "name", "searchindex", "uuid", "owner_id", "owner_pet_pettype_id") VALUES (27, '2020-06-10', 'Tom', 'Tom ', 'a553f6aa-ac28-440d-8f28-981cddafec86', 24, 2); | ||
INSERT INTO "public"."owner_pet" ("id", "birth_date", "name", "searchindex", "uuid", "owner_id", "owner_pet_pettype_id") VALUES (28, '2020-06-14', 'Python', 'Python ', '0b8c7059-063f-4c55-bd22-0c8f9bc3b9c5', 23, 10); | ||
INSERT INTO "public"."owner_pet" ("id", "birth_date", "name", "searchindex", "uuid", "owner_id", "owner_pet_pettype_id") VALUES (29, '2022-02-18', 'Tarantula', 'Tarantula ', 'faf15ccf-383a-4b90-9155-e41e6107d658', 23, 11); | ||
|
||
|
||
ALTER TABLE "public"."owner_pet" ENABLE TRIGGER ALL; | ||
|
||
-- | ||
-- Data for Name: owner_pet_visit; Type: TABLE DATA; Schema: public; Owner: - | ||
-- | ||
|
||
ALTER TABLE "public"."owner_pet_visit" DISABLE TRIGGER ALL; | ||
|
||
INSERT INTO "public"."owner_pet_visit" ("id", "visit_date", "description", "searchindex", "uuid", "owner_pet_id") VALUES (30, '2022-08-09', 'Routine', '2022 08 08T22 00 00Z Routine ', 'a9affdd1-7eeb-4baa-b52d-46c3711396c4', 25); | ||
INSERT INTO "public"."owner_pet_visit" ("id", "visit_date", "description", "searchindex", "uuid", "owner_pet_id") VALUES (1, '2022-02-06', 'Routine ASDQWER JOLO', '2022 02 05T23 00 00Z Routine ASDQWER JOLO ', '92dba22d-ac1a-4f53-8528-1bf211a2173e', 28); | ||
INSERT INTO "public"."owner_pet_visit" ("id", "visit_date", "description", "searchindex", "uuid", "owner_pet_id") VALUES (2, '2022-03-08', 'Routine KO', '2022 03 07T23 00 00Z Routine KO ', 'c7257865-f858-4760-a6c6-cf66efd35794', 28); | ||
INSERT INTO "public"."owner_pet_visit" ("id", "visit_date", "description", "searchindex", "uuid", "owner_pet_id") VALUES (3, '2022-03-10', 'Routine ZZ', '2022 03 09T23 00 00Z Routine ZZ ', '4f64804b-a1ae-412f-9c46-ecf897ef80d0', 29); | ||
INSERT INTO "public"."owner_pet_visit" ("id", "visit_date", "description", "searchindex", "uuid", "owner_pet_id") VALUES (4, '2022-08-10', 'Routine KO', '2022 08 09T22 00 00Z Routine KO ', '23f9c0a1-8d3c-4327-b8c4-0100207419fb', 29); | ||
INSERT INTO "public"."owner_pet_visit" ("id", "visit_date", "description", "searchindex", "uuid", "owner_pet_id") VALUES (5, '2022-08-18', 'Routine ASDQWER 11', '2022 08 17T22 00 00Z Routine ASDQWER 11 ', '0ab10181-9724-44e3-9fd7-252cc8b64dda', 26); | ||
INSERT INTO "public"."owner_pet_visit" ("id", "visit_date", "description", "searchindex", "uuid", "owner_pet_id") VALUES (6, '2022-10-10', 'Routine 333', '2022 10 09T22 00 00Z Routine 333 ', '19a5978b-bbbc-49f1-bd7a-d2e785533290', 27); | ||
|
||
|
||
ALTER TABLE "public"."owner_pet_visit" ENABLE TRIGGER ALL; | ||
|
||
-- | ||
-- Data for Name: specialty; Type: TABLE DATA; Schema: public; Owner: - | ||
-- | ||
|
||
ALTER TABLE "public"."specialty" DISABLE TRIGGER ALL; | ||
|
||
INSERT INTO "public"."specialty" ("id", "name", "searchindex", "uuid") VALUES (13, 'Cardiologist', 'Cardiologist ', 'b1f1c1ec-c823-4ff2-b8de-9905ce802041'); | ||
INSERT INTO "public"."specialty" ("id", "name", "searchindex", "uuid") VALUES (14, 'Radiologist', 'Radiologist ', 'dfe23ba1-9fc7-428a-aae0-99cd69887286'); | ||
INSERT INTO "public"."specialty" ("id", "name", "searchindex", "uuid") VALUES (15, 'Rescue Doctor', 'Rescue Doctor ', '2ff652fb-df03-48af-aa77-f7b47e155604'); | ||
INSERT INTO "public"."specialty" ("id", "name", "searchindex", "uuid") VALUES (16, 'Surgeon', 'Surgeon ', '4247ab00-93f8-4593-9c8e-bea2b5f56d2f'); | ||
INSERT INTO "public"."specialty" ("id", "name", "searchindex", "uuid") VALUES (17, 'Neurosurgeon', 'Neurosurgeon ', 'e6643c99-7e95-410c-9184-a3b0c1edb597'); | ||
INSERT INTO "public"."specialty" ("id", "name", "searchindex", "uuid") VALUES (18, 'Anesthetist', 'Anesthetist ', 'd021c584-feda-4f79-80e6-c2e22cfdc880'); | ||
INSERT INTO "public"."specialty" ("id", "name", "searchindex", "uuid") VALUES (19, 'Shaman', 'Shaman ', 'd9814cff-01e7-4f3d-b1b1-46b6df125641'); | ||
|
||
|
||
ALTER TABLE "public"."specialty" ENABLE TRIGGER ALL; | ||
|
||
-- | ||
-- Data for Name: vet; Type: TABLE DATA; Schema: public; Owner: - | ||
-- | ||
|
||
ALTER TABLE "public"."vet" DISABLE TRIGGER ALL; | ||
|
||
INSERT INTO "public"."vet" ("id", "first_name", "lastname", "searchindex", "uuid") VALUES (21, 'Marie', 'Curie', 'Marie Curie Neurosurgeon Rescue Doctor Shaman Cardiologist Radiologist Anesthetist Surgeon ', '8f05d625-6bcb-4762-a500-46df2f8ebdb5'); | ||
INSERT INTO "public"."vet" ("id", "first_name", "lastname", "searchindex", "uuid") VALUES (22, 'Walther', 'von der Vogelweide', 'Walther von der Vogelweide Shaman ', '7c3620bd-8c04-41b3-818c-db32434f8fea'); | ||
|
||
|
||
ALTER TABLE "public"."vet" ENABLE TRIGGER ALL; | ||
|
||
-- | ||
-- Data for Name: vet_specialties; Type: TABLE DATA; Schema: public; Owner: - | ||
-- | ||
|
||
ALTER TABLE "public"."vet_specialties" DISABLE TRIGGER ALL; | ||
|
||
INSERT INTO "public"."vet_specialties" ("vet_id", "specialty_id") VALUES (21, 17); | ||
INSERT INTO "public"."vet_specialties" ("vet_id", "specialty_id") VALUES (21, 15); | ||
INSERT INTO "public"."vet_specialties" ("vet_id", "specialty_id") VALUES (21, 19); | ||
INSERT INTO "public"."vet_specialties" ("vet_id", "specialty_id") VALUES (21, 13); | ||
INSERT INTO "public"."vet_specialties" ("vet_id", "specialty_id") VALUES (21, 14); | ||
INSERT INTO "public"."vet_specialties" ("vet_id", "specialty_id") VALUES (21, 18); | ||
INSERT INTO "public"."vet_specialties" ("vet_id", "specialty_id") VALUES (21, 16); | ||
INSERT INTO "public"."vet_specialties" ("vet_id", "specialty_id") VALUES (22, 19); | ||
|
||
|
||
ALTER TABLE "public"."vet_specialties" ENABLE TRIGGER ALL; | ||
|
||
-- | ||
-- Name: owner_pet_pettype_seq; Type: SEQUENCE SET; Schema: public; Owner: - | ||
-- | ||
|
||
SELECT pg_catalog.setval('"public"."owner_pet_pettype_seq"', 100, false); | ||
|
||
|
||
-- | ||
-- Name: owner_pet_seq; Type: SEQUENCE SET; Schema: public; Owner: - | ||
-- | ||
|
||
SELECT pg_catalog.setval('"public"."owner_pet_seq"', 50, false); | ||
|
||
|
||
-- | ||
-- Name: owner_pet_visit_seq; Type: SEQUENCE SET; Schema: public; Owner: - | ||
-- | ||
|
||
SELECT pg_catalog.setval('"public"."owner_pet_visit_seq"', 50, true); | ||
|
||
|
||
-- | ||
-- Name: owner_seq; Type: SEQUENCE SET; Schema: public; Owner: - | ||
-- | ||
|
||
SELECT pg_catalog.setval('"public"."owner_seq"', 50, false); | ||
|
||
|
||
-- | ||
-- Name: specialty_seq; Type: SEQUENCE SET; Schema: public; Owner: - | ||
-- | ||
|
||
SELECT pg_catalog.setval('"public"."specialty_seq"', 50, false); | ||
|
||
|
||
-- | ||
-- Name: vet_seq; Type: SEQUENCE SET; Schema: public; Owner: - | ||
-- | ||
|
||
SELECT pg_catalog.setval('"public"."vet_seq"', 50, false); | ||
|
||
|
||
COMMIT ; | ||
|
||
-- | ||
-- PostgreSQL database dump complete | ||
-- | ||
|