Skip to content

Commit 6b929bc

Browse files
committed
Drop foreign keys which reference core tables.
gitbucket/gitbucket#1687
1 parent c1f6da0 commit 6b929bc

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<changeSet>
3+
<dropForeignKeyConstraint constraintName="IDX_ISSUE_NOTIFICATION_FK0" baseTableName="ISSUE_NOTIFICATION" />
4+
<dropForeignKeyConstraint constraintName="IDX_ISSUE_NOTIFICATION_FK1" baseTableName="ISSUE_NOTIFICATION" />
5+
<dropForeignKeyConstraint constraintName="IDX_WATCH_FK0" baseTableName="WATCH" />
6+
<dropForeignKeyConstraint constraintName="IDX_WATCH_FK1" baseTableName="WATCH" />
7+
</changeSet>

src/main/scala/Plugin.scala

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ class Plugin extends gitbucket.core.plugin.Plugin {
1919
new Version("1.0.0",
2020
new LiquibaseMigration("update/gitbucket-notifications_1.0.xml")
2121
),
22-
new Version("1.1.0")
22+
new Version("1.1.0",
23+
new LiquibaseMigration("update/gitbucket-notifications_1.1.xml")
24+
)
2325
)
2426

2527
override val controllers = Seq(

0 commit comments

Comments
 (0)