optimize the adaptation of the postgres#227
Open
codelearner1024 wants to merge 2 commits intospring-ai-alibaba:mainfrom
Open
optimize the adaptation of the postgres#227codelearner1024 wants to merge 2 commits intospring-ai-alibaba:mainfrom
codelearner1024 wants to merge 2 commits intospring-ai-alibaba:mainfrom
Conversation
1. resolve the postgres db script init problem by direct the schema-postgresql.sql 2. if you want to update the db script,the best suggest is to exec script when you are on prod environment, or you can change the yaml properties spring.jpa.hibernate.ddl-auto to [create], it will drop and recreate db script, for more, see detail of org.hibernate.tool.schema.Action
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
recheck |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe what this PR does / why we need it
I have found that postgres can not init db script successful
Does this pull request fix one issue?
it resolve the issue with my own
[QUESTION] 使用postgres 为什么会出现的报错ERROR: type "longtext" does not exist是否已有解决? #226
Eixes #226
Describe how you did it
Create a PostgreSQL domain to assist with script parsing.
Describe how to verify it
it can simply start the project to opserve the ddl creation situation
Special notes for reviews