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

もうちょっと簡単なマイグレーション方法の検討 #1139

Open
ikura-hamu opened this issue Feb 14, 2025 · 2 comments
Open

もうちょっと簡単なマイグレーション方法の検討 #1139

ikura-hamu opened this issue Feb 14, 2025 · 2 comments

Comments

@ikura-hamu
Copy link
Member

今のマイグレーションの管理は考えることが多く、作業に抜けが発生するなどして大変なので、何かいい方法があれば乗り換えたい。

@ikura-hamu
Copy link
Member Author

例えば atlas

https://atlasgo.io

@ikura-hamu
Copy link
Member Author

今出てるアイディア

  • Atlas使う
    • 移行は大変
    • gormの構造体からスキーマのSQLを生成
    • 今のスキーマとほしいスキーマの差分からマイグレーションを生成
  • 今current.goにある型エイリアスをv*.goとかに書くようにする

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

No branches or pull requests

1 participant