I wonder how to change data type of id field from INT to BIGINT safely following strong_migrations
suggestions?
Changing the type of an existing column requires the entire
table and indexes to be rewritten. A safer approach is to:
1. Create a new column
2. Write to both columns
3. Backfill data from the old column to the new column
4. Move reads from the old column to the new column
5. Stop writing to the old column
6. Drop the old column
What should be the name of new column in that case?