Add migration script
Fix misindentation.