Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据库 是否 支持 postgresql ? #117

Open
kuchaguangjie opened this issue Dec 12, 2023 · 9 comments
Open

数据库 是否 支持 postgresql ? #117

kuchaguangjie opened this issue Dec 12, 2023 · 9 comments
Labels
enhancement New feature or request

Comments

@kuchaguangjie
Copy link

看起来 只支持 mysql. 是否 支持 postgresql ?

@qloog
Copy link
Contributor

qloog commented Dec 14, 2023

这个问题来的正是时候,前几天刚想着postgresql用的人其实也挺多,近期会考虑接入进来。敬请期待。

@qloog qloog added the feature label Dec 14, 2023
@kuchaguangjie
Copy link
Author

gorm 本身 对 pg 支持很好, 应该容易加.

@qloog
Copy link
Contributor

qloog commented Dec 14, 2023

对的,主要是配置上和初始化部分调整一下。

@qloog
Copy link
Contributor

qloog commented Dec 15, 2023

已经支持,可以尝试使用。如发现问题,欢迎随时反馈哈。

@kuchaguangjie
Copy link
Author

eagle model 命令 还不支持 pg 好像.

@kuchaguangjie
Copy link
Author

kuchaguangjie commented Dec 16, 2023

@qloog qloog added enhancement New feature or request and removed feature labels Dec 16, 2023
@qloog
Copy link
Contributor

qloog commented Dec 16, 2023

https://github.com/go-eagle/eagle/blob/5889d9c391788fea4d8a10c6b7b3a2e42012e86d/pkg/storage/orm/orm.go#L41C6-L41C14

这里 命名 还是 mysql

这个已经改名,eagle model 这个相对麻烦一些,后面也找时间处理下。

@est7
Copy link

est7 commented Jul 8, 2024

好像还缺个pg可用的mysql\init.sql?

@qloog
Copy link
Contributor

qloog commented Sep 20, 2024

好像还缺个pg可用的mysql\init.sql?

这个是不直接用pg客户端工具直接初始化下就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants