Auto-create database and dbmigration table if needed.