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

Rick Bradley rick at rickbradley.com
Mon Feb 20 19:39:11 GMT 2006


* Michael Koziarski (michael at koziarski.com) [060220 14:09]:
> On 2/20/06, Kyle Maxwell <kyle at kylemaxwell.com> wrote:
> > What if, instead of a simple integer sequence, migrations used timestamps?
> 
> Could we do that in a backwards compatible way? The problem of local,
> uncommited migrations isn't something that's worth breaking backwards
> compatibility

Well, if it were done as an epoch timestamp (i.e., number of seconds
since 1/1/1970) it would probably be pretty simple.

Rick
-- 
 http://www.rickbradley.com    MUPRN: 640
                       |  the discipline of
   random email haiku  |  the folks that wrote it than
                       |  the language itself.


More information about the Rails-core mailing list