Run migration before using database