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

db migration 基礎建設 #41

Open
barry800414 opened this issue Jan 25, 2018 · 0 comments
Open

db migration 基礎建設 #41

barry800414 opened this issue Jan 25, 2018 · 0 comments

Comments

@barry800414
Copy link
Contributor

目前會遇到某些 collection 欄位要修改或新增欄位的狀況,或者是某些欄位要建 index。
會需要有 migration 的基礎建設。基礎建設指的是:

  1. 可以上CI自動跑 migration
  2. migration 不會重複跑兩次

目前想法是參照:
https://github.com/goodjoblife/WorkTimeSurvey-backend/tree/master/database
建立 db migration 的基礎建設。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant