You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -127,11 +127,12 @@ XML schema is improved from Liquibase to be possible to declare column informati
127
127
128
128
`SqlMigration` migrates the database by native SQL.
129
129
130
-
In the default, `SqlMigration` try to load a SQL file from classpath as following order:
130
+
### Apply RDBMS specific configuration
131
+
In the default, `LiquibaseMigration` and `SqlMigration` try to load a file from classpath as following order:
131
132
132
-
1. Specified path (if specified)
133
-
2.`${moduleId}_${version}_${database}.sql`
134
-
3.`${moduleId}_${version}.sql`
135
-
136
-
It's possible to apply different SQL for each databases by creating multiple SQL files for the same version such as `gitbucket_1.0.0_h2.sql` (for H2 database) and `gitbucket_1.0.0_mysql.sql` (for MySQL).
133
+
1. Specified path with `_${database}` name suffix (if specified)
It's possible to apply different XML/SQL for each databases by creating multiple files such as `gitbucket_1.0.0_h2.sql` (for H2 database) and `gitbucket_1.0.0_mysql.sql` (for MySQL).
0 commit comments