# Migrate produce files in app\_root/db

**URL:** <https://www.ruby-forum.com/t/migrate-produce-files-in-app-root-db/56204>\
**Category:** Engines\
**Created:** [March 29, 2006, 12:17am UTC](https://www.ruby-forum.com/t/migrate-produce-files-in-app-root-db/56204 "2006-03-29T00:17:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chriscole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/5fc32e/32.png) [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Post date:** [March 29, 2006, 12:17am UTC](https://www.ruby-forum.com/t/migrate-produce-files-in-app-root-db/56204/1 "2006-03-29T00:17:27Z")

</div>

Hi, as I told in a previous post engine\_migrate generate files in  
app\_root/db, not in engine/db (so does the controller generator)

As a consequence, every time I generate a new migration I have to move  
the file by myself, not a big deal but -\> schema.rb is ALSO in app/db  
not in engine/db so, I’ve symlinked engine/db with app/db.  
I find this kind of trick quite strange and I really wonder if there’s  
something wrong somewhere because I didn’t found anything in the doc  
about the need to symlink this file.
