Skip to content

Commit

Permalink
insert data to test convertion to enum
Browse files Browse the repository at this point in the history
truncate table before inserting clean data before other "global" unit tests
  • Loading branch information
thoomasbro committed Feb 7, 2023
1 parent ebbc472 commit 848b13f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
COPY public.missions (id, mission_type, open_by, observations_cacem, facade, input_start_datetime_utc, input_end_datetime_utc, geom, closed_by, mission_nature, deleted, observations_cnsp, mission_source, closed) FROM stdin;
12 SEA Kimberly Woodward Mother including baby same. Evidence project air practice minute their. Trouble sing suggest maintain like know too. NAMO 2022-02-24 10:56:33 2022-05-06 19:38:29 \N Charles Kennedy {ENV,OTHER} f \N CACEM f
\.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

TRUNCATE public.missions CASCADE;
COPY public.missions (id, mission_type, open_by, observations_cacem, facade, start_datetime_utc, end_datetime_utc, geom, closed_by, mission_nature, deleted, observations_cnsp, mission_source, closed) FROM stdin;
12 SEA Kimberly Woodward Mother including baby same. Evidence project air practice minute their. Trouble sing suggest maintain like know too. NAMO 2022-02-24 10:56:33 2022-05-06 19:38:29 \N Charles Kennedy {ENV,OTHER} f \N MONITORENV f
13 LAND Tyler Dickerson Receive hit themselves. Example community suggest seek to technology. NAMO 2022-02-07 04:16:43 2022-07-10 19:55:50 \N Robin Keller {ENV,FISH} f \N MONITORENV f
Expand Down
2 changes: 1 addition & 1 deletion infra/configurations/backend/application-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ monitorenv.server.root=http://localhost:8880
monitorenv.server.port=8880
monitorenv.flyway.locations=classpath:/db/migration,classpath:/db/testdata
spring.flyway.group=true
spring.flyway.out-of-order=true
# spring.flyway.out-of-order=true

monitorenv.ajp.port=8000
host.ip=localhost:8880
Expand Down

0 comments on commit 848b13f

Please sign in to comment.