---
title: "RikMigrations: Good start on the road to .NET DB Management DSLs?"
url: "https://osherove.com/blog/2007/11/25/rikmigrations-good-start-on-the-road-to-net-db-management-ds.md"
canonical: "https://osherove.com/blog/2007/11/25/rikmigrations-good-start-on-the-road-to-net-db-management-ds.html"
published: "2007-11-25T14:19:00"
updated: "2007-11-25T14:19:00"
tags: []
author: "Roy Osherove"
description: "Here's a library I think could be useful for database management tasks in .NET: RikMigrations . It's based on the idea of Ruby On Rails MIgrations which, since I don't know ruby, is only something I know of from other…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# RikMigrations: Good start on the road to .NET DB Management DSLs?

By Roy Osherove November 25, 2007

**Historical article** · Originally published November 25, 2007; technical details may be outdated.

Here's a library I think could be useful for database management tasks in .NET: [RikMigrations](http://www.rikware.com/page/RikMigrations-Tutorial.aspx). It's based on the idea of [Ruby On Rails MIgrations](http://wiki.rubyonrails.org/rails/pages/UnderstandingMigrations) which, since I don't know ruby, is only something I know of from other people.

> "RikMigrations is a database migration library for .NET based on the migrations facility provided by Ruby on Rails. It allows simple upgrading and downgrading of databases using .NET code (such as VB or C#) either from the command line or built into your application. Unlike many other migration frameworks, RikMigrations is a stand-alone library which does not rely on a large surrounding framework."

Things still missing from this? no view or Stored procedure support yet. I hope there will be soon.

\[via [vidmar](http://vidmar.net/weblog/archive/2007/11/25/links-of-the-week-12-week-472007.aspx)\]

[Here are a couple of code samples](http://www.rikware.com/page/RikMigrations-Tutorial.aspx) on how to implement DB Migrations in .NET and RikMigrations.

I can see myself building full DSLs for my DBs based on this framework, including versioning and setup\\teardown dor full deployments\\system tests.


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
