C
C#3mo ago
gDotDev

Dapper Migrations

Hey, looking for tips around dapper and handling migrations / updates to domain entities. So can keep log of changes in the database and run SQL scripts r likewise to keep the database sync and allow other devs in team to sync their local databases. Basically to get the same concept as would with EF migrations. The team I’ve joined prefers Dapper for lightweight reasons and ability to control SQL ran on queries and such.
3 Replies
Angius
Angius3mo ago
Fluent Migrator? Or just hand-write Up and Down scripts in SQL files, since the team likes writing raw SQL anyway
sibber
sibber3mo ago
DbUp is also pretty popular
gDotDev
gDotDevOP3mo ago
We went with this strategy in the end.
Want results from more Discord servers?
Add your server