Skip to content

optimize the adaptation of the postgres#238

Open
codelearner1024 wants to merge 4 commits intospring-ai-alibaba:mainfrom
codelearner1024:main-pr
Open

optimize the adaptation of the postgres#238
codelearner1024 wants to merge 4 commits intospring-ai-alibaba:mainfrom
codelearner1024:main-pr

Conversation

@codelearner1024
Copy link
Copy Markdown

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

 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

(cherry picked from commit 2fb738e)
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 6, 2026

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@codelearner1024
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@codelearner1024
Copy link
Copy Markdown
Author

recheck

1 similar comment
@codelearner1024
Copy link
Copy Markdown
Author

recheck

@codelearner1024
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@codelearner1024
Copy link
Copy Markdown
Author

image

@rainerWJY @heimanba help to optimise the check flow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant