mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
added db migrations
This commit is contained in:
parent
d28141cfcb
commit
64bbabc399
@ -1,3 +1 @@
|
||||
FROM postgres:12-alpine
|
||||
|
||||
COPY init.sql /docker-entrypoint-initdb.d/
|
File diff suppressed because it is too large
Load Diff
@ -16,6 +16,9 @@ spring:
|
||||
devtools:
|
||||
restart:
|
||||
additional-exclude: work/**
|
||||
flyway:
|
||||
baseline-on-migrate: true
|
||||
baseline-version: "1.0.0"
|
||||
|
||||
fake-user:
|
||||
enabled: false
|
||||
|
7
pom.xml
7
pom.xml
@ -165,6 +165,13 @@
|
||||
<artifactId>postgresql</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- flyway -->
|
||||
<dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-core</artifactId>
|
||||
<version>6.5.5</version>
|
||||
</dependency>
|
||||
|
||||
<!-- markdown -->
|
||||
<dependency>
|
||||
<groupId>com.vladsch.flexmark</groupId>
|
||||
|
@ -25,6 +25,9 @@ spring:
|
||||
devtools:
|
||||
restart:
|
||||
additional-exclude: work/**
|
||||
flyway:
|
||||
baseline-on-migrate: true
|
||||
baseline-version: "1.0.0"
|
||||
|
||||
#############
|
||||
# Fake User #
|
||||
|
@ -1,4 +1,3 @@
|
||||
\c hangar
|
||||
create extension hstore;
|
||||
create extension pgcrypto;
|
||||
|
@ -0,0 +1 @@
|
||||
ALTER TABLE project_versions ADD COLUMN external_url varchar(255);
|
Loading…
Reference in New Issue
Block a user