SSWConsulting / SSW.CleanArchitecture

SSW Clean Architecture Template
https://sswconsulting.github.io/SSW.CleanArchitecture/
MIT License
124 stars 24 forks source link

✨ Added command to drop database on demand #411

Closed danielmackay closed 2 weeks ago

danielmackay commented 3 weeks ago

> 1. What triggered this change? (PBI link, Email Subject, conversation + reason, etc)

✏️ https://github.com/SSWConsulting/SSW.CleanArchitecture/issues/410

  1. What was changed?

✏️ Added command to drop database on demand. This is useful when not using migrations and the DB schema needs to be recreated. With this command we can now drop the db and re-run the migration service without making changes to our code.

image

  1. Did you do pair or mob programming?

✏️ No

MattParkerDev commented 2 weeks ago

Does this drop and recreate? Should the command name make that clear?

matt-goldman-ssw commented 2 weeks ago

Does this drop and recreate? Should the command name make that clear?

+1 to Parkie's comment. Looks good to me but I would encourage naming it more transparently. Or even adding both options.