[Rails-core] some (long) thoughts on migrations

Kevin Clark kevin.clark at gmail.com
Mon Feb 20 19:50:19 GMT 2006


On 2/20/06, Kyle Maxwell <kyle at kylemaxwell.com> wrote:
> What if, instead of a simple integer sequence, migrations used timestamps?

The problem is the dependence tree. If you do it with timestamps, by
inserting your own migrations you may change things later migrations
depend on. Similarly, we lose the simplicity of VER#_description
because you wouldn't be able to use filesystem timestamps which would
break in a variety of cases.

Kev


More information about the Rails-core mailing list