Skip to content

optimize the adaptation of the postgres#227

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

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

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

github-actions Bot commented Feb 17, 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

@rainerWJY
Copy link
Copy Markdown
Contributor

谢谢你的pr .

还请再按如下方案再试试:

让 codelearner1024(或你转告他)按下面做:
在 GitHub 里加上这个邮箱并验证
打开:https://github.com/settings/emails
点 Add email address,输入 wu___(你的邮箱)___g11@outlook.com
到 Outlook 收验证邮件,点链接完成验证
再触发一次 CLA 检查(二选一即可)
在 PR 里找到 CLA 机器人发的评论,点里面的链接再签一次 CLA;或
本地执行后推送:
git commit --allow-empty -m "chore: trigger CLA recheck" git push
另一个 commit(9104859)也确认一下
用同样方式打开 9104859.patch,看 From: 的邮箱。
若是同一个 wuweigang11@outlook.com,上面步骤就够了;若是别的邮箱,也要在 GitHub 里添加并验证。
原因简述: CLA 是按 commit 里的邮箱 判断是否签过。之前很可能是 GitHub 账号里没有 wuweigang11@outlook.com 或未验证,所以检查一直不通过。加上并验证后,再签/再跑一次检查即可。

@rainerWJY
Copy link
Copy Markdown
Contributor

因为我要合并你的更改,但你没有签署协议,所以我会让ai理解你的代码以后append到当前项目中。

非常感谢你的支持

@rainerWJY rainerWJY closed this Mar 4, 2026
@codelearner1024
Copy link
Copy Markdown
Author

在 GitHub 里加上这个邮箱并验证

ok

@codelearner1024
Copy link
Copy Markdown
Author

因为我要合并你的更改,但你没有签署协议,所以我会让ai理解你的代码以后append到当前项目中。

非常感谢你的支持

ok

@codelearner1024
Copy link
Copy Markdown
Author

codelearner1024 commented Mar 6, 2026

image @rainerWJY 可能是因为我之前用了公司邮箱 后来想想不太好 就改成自己的, 是不是这个原因?
(base) wuweigang@MacBookPro Lynxe % git filter-repo --email-callback '
    return b"wuweigang11@outlook.com" if b"weigang1.wu@kone.com" in author_email else author_email
'

@codelearner1024
Copy link
Copy Markdown
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.

2 participants