added databse and migrated