Skip to content

Comments

optimize the adaptation of the postgres#227

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

optimize the adaptation of the postgres#227
codelearner1024 wants to merge 2 commits intospring-ai-alibaba:mainfrom
codelearner1024:main

Conversation

@codelearner1024
Copy link

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
@github-actions
Copy link

github-actions bot commented Feb 17, 2026

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

@codelearner1024
Copy link
Author

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

@codelearner1024
Copy link
Author

recheck

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