[typo] New migration scripts
scott at sigkill.org
Fri Jan 27 18:35:47 EST 2006
I'll look at it in the morning and give it a shot with a couple old
DBs that I keep around. The idea is good; hopefully it'll work well
enough in practice :-).
On Jan 27, 2006, at 3:29 PM, Scott Bronson wrote:
> Typo is pretty notorious for having rough migrations. This is because
> it uses its models to migrate data, even when the schema you're
> migrating from is very old. Current models operating on an ancient
> schema? Madness.
> I think I've fixed this by removing all usage of Typo's models from
> migration scripts. Instead, each script uses its own bare models.
> Therefore, the scripts will now work exactly the same way no matter
> version of Typo you have installed.
> I've attached a patch this ticket. The patch is huge (60K), but
> just because there are a huge number migrate scripts. Most of the
> changes are straightforward.
> Any chance of getting it committed?
> On Fri, 2006-01-27 at 12:16 -0600, Jason Bainbridge wrote:
>> Sean Hussey wrote:
>>> How safe is trunk these days? I had the exact same question as
>> Well I've been playing with it on a test site for quite some time and
>> even though I don't use it for my Production blog I haven't
>> any real problems, although I have heard of issues migrating to it
> If anyone has a database that fails to migrate with these new
> scripts, please
> send me a dump? I'll bet it will be an easy problem to fix. :)
> - Scott
> Typo-list mailing list
> Typo-list at rubyforge.org
More information about the Typo-list