This is a versioned migration so the column to which the default is applied is duplicated and backfilled according to the up and down SQL supplied with the 'alter column' operation. up and down default to a simple copy of the field between new and old columns.
Allow 'alter column' operations to set the default value on a column:
This is a versioned migration so the column to which the default is applied is duplicated and backfilled according to the
up
anddown
SQL supplied with the 'alter column' operation.up
anddown
default to a simple copy of the field between new and old columns.Fixes #327