Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
96399395
Commit
96399395
authored
Sep 04, 2017
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish liquibase doc
Closes gh-10139
parent
37d92807
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
appendix-configuration-metadata.adoc
...cs/src/main/asciidoc/appendix-configuration-metadata.adoc
+2
-2
howto.adoc
spring-boot-docs/src/main/asciidoc/howto.adoc
+3
-3
No files found.
spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc
View file @
96399395
...
...
@@ -559,7 +559,7 @@ The following types can be used:
NOTE: If multiple values can be provided, use a `Collection` or _Array_ type to teach the IDE
about it.
The meta-data snippet below corresponds to the standard `liquibase.change-log`
The meta-data snippet below corresponds to the standard `
spring.
liquibase.change-log`
property that defines the path to the changelog to use. It is actually used internally as a
`org.springframework.core.io.Resource` but cannot be exposed as such as we need to keep the
original String value to pass it to the Liquibase API.
...
...
@@ -568,7 +568,7 @@ original String value to pass it to the Liquibase API.
----
{"hints": [
{
"name": "liquibase.change-log",
"name": "
spring.
liquibase.change-log",
"providers": [
{
"name": "handle-as",
...
...
spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
96399395
...
...
@@ -2022,14 +2022,14 @@ To automatically run Liquibase database migrations on startup, add the
`org.liquibase:liquibase-core` to your classpath.
The master change log is by default read from `db/changelog/db.changelog-master.yaml` but
can be set using `
liquibase.change-log`. In addition to YAML, Liquibase also supports
JSON, XML, and SQL change log formats.
can be set using `
spring.liquibase.change-log`. In addition to YAML, Liquibase also
supports
JSON, XML, and SQL change log formats.
By default Liquibase will autowire the (`@Primary`) `DataSource` in your context and use
that for migrations. If you like to use a different `DataSource` you can create one and
mark its `@Bean` as `@LiquibaseDataSource` - if you do that remember to create another one
and mark it as `@Primary` if you want two data sources. Or you can use Liquibase's native
`DataSource` by setting `liquibase.[url,user,password]` in external properties.
`DataSource` by setting `
spring.
liquibase.[url,user,password]` in external properties.
See
{sc-spring-boot-autoconfigure}/liquibase/LiquibaseProperties.{sc-ext}[`LiquibaseProperties`]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment