I want to introduce database migrations into my project and would like to be able to generate my initial migration scripts from the database. I was wondering if there are any code generation tools around to do this? I was thinking of using migrator.net but am happy to use anything so long as I can get a tool to generate code for it.
Asked
Active
Viewed 1,926 times
3 Answers
2
Wizardby can perform reverse-engineering of existing database schema.

Anton Gogolev
- 113,561
- 39
- 200
- 288
0
Data Dude (ie: Visual Studio Team System Database Edition) does a very, very good job of this. It allows automatic migration code generation through multiple versions, as well as building full scripts off an existing DB.

Reed Copsey
- 554,122
- 78
- 1,158
- 1,373
0
Fluent Migrator can do this now too
http://computeristsolutions.com/blog/posts/2011/4/dumping-existing-schema-with-fluentmigrator

kenwarner
- 28,650
- 28
- 130
- 173