database migration to add entity tables