moved migration to be as part of the database itself, to allow for migrations across multiple databases