Added migration for api keys