You need to find the Always recreate database option in the properties of the database project β Deploy β Deployment configuration file β Edit dialog.
You may also find it useful another option: "Drop objects that exist in the target database, but not in the schema."
user151323
source share