Skip to content

Commit 737f621

Browse files
committed
Add missing suggested values for spring.jpa.hibernate.ddl-auto
Closes gh-45336
1 parent 03d5c32 commit 737f621

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3165,25 +3165,37 @@
31653165
{
31663166
"name": "spring.jpa.hibernate.ddl-auto",
31673167
"values": [
3168+
{
3169+
"value": "create",
3170+
"description": "Create the schema and destroy previous data."
3171+
},
3172+
{
3173+
"value": "create-drop",
3174+
"description": "Create and then destroy the schema at the end of the session."
3175+
},
3176+
{
3177+
"value": "create-only",
3178+
"description": "Create the schema."
3179+
},
3180+
{
3181+
"value": "drop",
3182+
"description": "Drop the schema."
3183+
},
31683184
{
31693185
"value": "none",
31703186
"description": "Disable DDL handling."
31713187
},
31723188
{
3173-
"value": "validate",
3174-
"description": "Validate the schema, make no changes to the database."
3189+
"value": "truncate",
3190+
"description": "Truncate the tabless in the schema."
31753191
},
31763192
{
31773193
"value": "update",
31783194
"description": "Update the schema if necessary."
31793195
},
31803196
{
3181-
"value": "create",
3182-
"description": "Create the schema and destroy previous data."
3183-
},
3184-
{
3185-
"value": "create-drop",
3186-
"description": "Create and then destroy the schema at the end of the session."
3197+
"value": "validate",
3198+
"description": "Validate the schema, make no changes to the database."
31873199
}
31883200
]
31893201
},

0 commit comments

Comments
 (0)