migration for api key related schema changes

db migration for existing installs.