Revert "enforce NOT NULL on current_index column after data migration"

This reverts commit 0e1dc50afb98ba3f680a5c497ca6cf4ec01a4a24.