hoonsbara / octalforty-wizardby

Automatically exported from code.google.com/p/octalforty-wizardby
1 stars 0 forks source link

Support for modular migrations #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, MDL file allows to specify migration name. This name, however, 
is not used anywhere.

What I propose is to add support for modular migrations, whereby Wizardby 
will record which module (that is, which named migration) is at what 
version.

For instance:

    migration "Core" revision => 1:
        ...

    migration "Plugin" revision => 1:
        ...

These two migrations will then be able to operate pretty much independently 
on one physical database.

Original issue reported on code.google.com by anton.go...@gmail.com on 22 Jan 2010 at 8:32

GoogleCodeExporter commented 8 years ago

Original comment by anton.go...@gmail.com on 22 Jan 2010 at 8:32

GoogleCodeExporter commented 8 years ago
A module could then be associated with an SQL schema so all objects in the 
module would be created within the given schema
Like

  migration "CarModule" revision => 1, schema => Cars:
    ...

Original comment by ondre...@gmail.com on 22 Apr 2011 at 8:13

GoogleCodeExporter commented 8 years ago
That's nice! Thanks.

Original comment by anton.go...@gmail.com on 25 Apr 2011 at 2:17