mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Fix wrong replacements for spring.datasource.[schema|data]
See gh-26150
This commit is contained in:
parent
086d289636
commit
95a9f36ac1
@ -414,7 +414,7 @@ public class DataSourceProperties implements BeanClassLoaderAware, InitializingB
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@DeprecatedConfigurationProperty(replacement = "spring.sql.init.ddlScriptLocations")
|
||||
@DeprecatedConfigurationProperty(replacement = "spring.sql.init.schema-locations")
|
||||
public List<String> getSchema() {
|
||||
return this.schema;
|
||||
}
|
||||
@ -447,7 +447,7 @@ public class DataSourceProperties implements BeanClassLoaderAware, InitializingB
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@DeprecatedConfigurationProperty(replacement = "spring.sql.init.dmlScriptLocations")
|
||||
@DeprecatedConfigurationProperty(replacement = "spring.sql.init.data-locations")
|
||||
public List<String> getData() {
|
||||
return this.data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user