added migration
close issues #1