Skip to content

Commit fce632a

Browse files
committed
add liquidbase candidate
1 parent 15c8e46 commit fce632a

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
package io.sdkman.changelogs
2+
3+
import com.github.mongobee.changeset.{ChangeLog, ChangeSet}
4+
import com.mongodb.client.MongoDatabase
5+
6+
@ChangeLog(order = "040")
7+
class LiquidbaseMigrations {
8+
9+
@ChangeSet(
10+
order = "001",
11+
id = "001_add_liquidbase_candidate",
12+
author = "rfigueroa"
13+
)
14+
def migration001(implicit db: MongoDatabase) = {
15+
Candidate(
16+
candidate = "liquidbase",
17+
name = "Liquidbase",
18+
description =
19+
"Liquibase helps millions of teams track, version, and deploy database schema changes.",
20+
websiteUrl = "https://www.liquibase.org/"
21+
).insert()
22+
23+
Version(
24+
candidate = "liquidbase",
25+
version = "3.10.3",
26+
url =
27+
"https://github.com/liquibase/liquibase/releases/download/v3.10.3/liquibase-3.10.3.tar.gz"
28+
).validate()
29+
.insert()
30+
31+
Version(
32+
candidate = "liquidbase",
33+
version = "4.1.1",
34+
url =
35+
"https://github.com/liquibase/liquibase/releases/download/v4.1.1/liquibase-4.1.1.tar.gz"
36+
).validate()
37+
.insert()
38+
.asCandidateDefault()
39+
}
40+
41+
}

0 commit comments

Comments
 (0)