0

Reference question

Our group works with a common application but we also individually work on Engines. Is there a configuration is Rails 3 that allows us to put Engine-related migrations files on a different folder? The goal is to track our migrations in Git, but also separate migrations related to the common app from the ones for Engines.

Community
  • 1
  • 1
RailinginDFW
  • 1,523
  • 12
  • 19

1 Answers1

1

You can actually name migrations whatever you want. Docs. I would suggest the following convention.

[DATE]_[ENGINE_NAME|CORE]_[DESCRIPTION].rb

There you go!

Dan Grahn
  • 9,044
  • 4
  • 37
  • 74