Skip to content

column-rename (US003)#

Automatic fix is not available.

What it does#

Checks renaming of column.

Why not?#

Renaming a column can easily break applications that rely on the column.

If any part of the application code, database procedures, views, or reports use the column, renaming it will cause errors and potentially disrupt business operations.

When should you?#

If the column is no longer being referenced by clients, probably after migrating clients to a new column.

Use instead:#

  1. Create a new column with the new name, nullable.
  2. Start writing data to the new column.
  3. Copy all data from the old column to the new column.
  4. Migrate clients to the new column.