created and migrated db