Commit 424d39e6 authored by Evan Read's avatar Evan Read

Merge branch 'rename-table-downtime-guide' into 'master'

Add section on renaming tables to downtime guide

See merge request gitlab-org/gitlab!20809
parents dd3380ab 9ccd487f
......@@ -377,6 +377,11 @@ This operation is safe as there's no code using the table just yet.
Dropping tables can be done safely using a post-deployment migration, but only
if the application no longer uses the table.
## Renaming Tables
Renaming tables requires downtime as an application may continue
using the old table name during/after a database migration.
## Adding Foreign Keys
Adding foreign keys usually works in 3 steps:
......
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