August 2017
Intermediate to advanced
332 pages
9h 16m
English
This step is usually done after some time when the release is stable. We need to copy the data from the old result column into the new sum column. Let's create a migration file called V4__Copy_result_into_sum_column.sql:
update CALCULATIONset CALCULATION.sum = CALCULATION.resultwhere CALCULATION.sum is null;
We still have no limits for the rollback; however, if we need to deploy the version before the change in step 2, then this database migration needs to be repeated.
Read now
Unlock full access