# Create migration from existing database

**URL:** <https://www.ruby-forum.com/t/create-migration-from-existing-database/162105>\
**Category:** Rails\
**Created:** [March 5, 2009, 7:18pm UTC](https://www.ruby-forum.com/t/create-migration-from-existing-database/162105 "2009-03-05T19:18:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![will](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/90ced4/32.png) [@will](https://www.ruby-forum.com/u/will)\
**Post date:** [March 5, 2009, 7:18pm UTC](https://www.ruby-forum.com/t/create-migration-from-existing-database/162105/1 "2009-03-05T19:18:34Z")

</div>

I’m looking to see if anyone knows of a tool that can be used in ruby  
to autogenerate a rails migration  
from an existing database that comes from a non ruby project. I know  
I can do this with rake db:backup with a rails project, but does  
anyone know if its possible outside of this realm. I looking to build  
a project to migrate a database from one platform to another. Say  
Oracle to MsSQL server. Migrations would help immensely with this  
concept, but can these be generated and not have to be built?
