|
|
|
|
|
by whatl3y
1878 days ago
|
|
1. Don't rename your columns, but if you have to 2. project search and replace on $COLUMN_NAME If your column name is a common keyword, variable name, etc. in your code base and it's difficult to find using project search, that's unfortunate, but we organize our backend code and tests in a logical enough way that it's never taken longer than an hour to create a PR to create a migration to rename a column and update all places in code that reference it. |
|
IMO an hour for a change you have so little confidence about is not acceptable when the alternative allows you to do it in a second with full confidence.