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

建议增加一个数据库迁移的功能 #475

Closed
OxYancy opened this issue Jan 16, 2020 · 2 comments
Closed

建议增加一个数据库迁移的功能 #475

OxYancy opened this issue Jan 16, 2020 · 2 comments
Labels
discuss We need discuss to make decision. feature inactive

Comments

@OxYancy
Copy link

OxYancy commented Jan 16, 2020

1. What version of Go and system type/arch are you using?

go1.13.5 darwin/amd64

2. What version of GoFrame are you using?

v1.11.2

3. Can this issue be reproduced with the latest release?

4. What did you do?

代码操作数据库

5. What did you expect to see?

6. What did you see instead?

@gqcn
Copy link
Member

gqcn commented Jan 16, 2020

类似于PHP Laravel框架的migrate功能。

@gqcn gqcn added the feature label Jan 16, 2020
@zhwei820
Copy link

zhwei820 commented Jul 22, 2020

个人建议不要开这个坑, 费力不讨好。 可以采用成熟的三方框架来管理数据库模型。 比如python 的django框架的migrations就很完善。 https://docs.djangoproject.com/en/3.0/topics/migrations/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss We need discuss to make decision. feature inactive
Projects
None yet
Development

No branches or pull requests

3 participants