mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-05-07 11:26:58 +02:00
rewrite sql to LiquibaseMigration
This commit is contained in:
@@ -1 +0,0 @@
|
||||
ALTER TABLE ACCOUNT ADD COLUMN GROUP_DESCRIPTION TEXT;
|
||||
6
src/main/resources/update/gitbucket-core_4.9.xml
Normal file
6
src/main/resources/update/gitbucket-core_4.9.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<changeSet>
|
||||
<addColumn tableName="ACCOUNT">
|
||||
<column name="GROUP_DESCRIPTION" type="text" nullable="true" />
|
||||
</addColumn>
|
||||
</changeSet>
|
||||
@@ -26,6 +26,6 @@ object GitBucketCoreModule extends Module("gitbucket-core",
|
||||
new Version("4.7.1"),
|
||||
new Version("4.8"),
|
||||
new Version("4.9",
|
||||
new SqlMigration("update/gitbucket-core_4.9.sql")
|
||||
new LiquibaseMigration("update/gitbucket-core_4.9.xml")
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user