add script for db migration