Commit f9860b9c authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'add_note_to_rename_database_columns_doc' into 'master'

Add note to column rename doc

See merge request gitlab-org/gitlab!25110
parents 960b28c0 476774a8
......@@ -162,6 +162,9 @@ class CleanupUsersUpdatedAtRename < ActiveRecord::Migration[4.2]
end
```
NOTE: **Note:** If you're renaming a large table, please carefully consider the state when the first migration has run but the second cleanup migration hasn't been run yet.
With [Canary](https://about.gitlab.com/handbook/engineering/infrastructure/library/canary/) it is possible that the system runs in this state for a significant amount of time.
## Changing Column Constraints
Adding or removing a NOT NULL clause (or another constraint) can typically be
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment