first draft of an added support for migrations in the db schema