lock migrations table more strict