-
Notifications
You must be signed in to change notification settings - Fork 19
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
Revive old migrations PR #165
base: main
Are you sure you want to change the base?
Conversation
No New Or Fixed Issues Found |
[T-SQL Code Style][code-style-sql] for more details. But the most important aspect is ensuring the | ||
script can be re-run on the database multiple times without producing any errors or data loss. | ||
|
||
### Backwards Compatible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add a section better describing when non backwards compatible migrations needs to be used.
We now need to write a script that migrates any data from the old location to the new locations. | ||
This script should ideally be written in a way that supports batching, i.e. execute for X number of | ||
rows at a time. This helps avoiding locking the database. When running the scripts against the | ||
server please keep running it until it affects `0 rows`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to decide if data migrations are destructive or non destructive. I.e. duplicate the data for a while.
…ributing-docs into ps/migrations # Conflicts: # docs/contributing/database-migrations/index.md
…ps/migrations * 'master' of github.com:bitwarden/contributing-docs: (37 commits) chore(deps): update dependency cspell to v7.3.7 (#206) [PM-4161] Fix build command on README.md (#207) Fixed typo in csharp.md (#180) Update our EDD process documentation (#166) chore(deps): update actions/checkout action to v4.1.0 (#204) chore(deps): lock file maintenance (#205) fix(deps): update npm minor to v2.4.3 (#203) use dash when running self-hosted dotnet profile (#202) chore(deps): update actions/checkout action to v4 (#191) chore(deps): lock file maintenance (#201) chore(deps): update npm minor (#195) fix(deps): update dependency docusaurus-lunr-search to v3 (#200) setup_secrets: Pass `-clear` as switch (#194) Update KeyConnector docs for ARM Macs (#171) Lock file maintenance (#193) Update dependency cspell to v7.3.5 (#192) Update dependency ubuntu to v22 (#174) Update gh minor (#181) Feature flag documentation updates and mentions about new local override capabilities (#187) Update npm minor (#188) ... # Conflicts: # custom-words.txt # docs/contributing/database-migrations/edd.mdx # docs/contributing/database-migrations/index.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The content updates look good to me
…/migrations # Conflicts: # docs/getting-started/server/database/mssql/index.md
Objective
Expand the migration page and break it up into two focusing on the different database engines.