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
Fluent Migrator?
Or just hand-write
Up
and Down
scripts in SQL files, since the team likes writing raw SQL anywayDbUp is also pretty popular
We went with this strategy in the end.