Skip to content

Commit 6cc6d40

Browse files
author
Karthik Raghunathan
committed
flyway migration
1 parent ab49245 commit 6cc6d40

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@
7777
<scope>runtime</scope>
7878
</dependency>
7979

80+
<dependency>
81+
<groupId>org.flywaydb</groupId>
82+
<artifactId>flyway-core</artifactId>
83+
</dependency>
84+
85+
8086
<dependency>
8187
<groupId>org.springframework.boot</groupId>
8288
<artifactId>spring-boot-starter-data-jpa</artifactId>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CREATE TABLE public.entry (
2+
id bigint NOT NULL,
3+
created timestamp without time zone,
4+
description character varying(255),
5+
last_updated timestamp without time zone,
6+
latitude double precision NOT NULL,
7+
longitude double precision NOT NULL,
8+
owner character varying(255),
9+
status character varying(255)
10+
);
11+

0 commit comments

Comments
 (0)