fixed create unique key in migration