On Fri, Feb 6, 2009 at 7:36 AM, Emmanouil Batsis (Manos) <[email protected]> wrote:
> I have a couple of questions regarding the DB scripts, answering them would
> be very helpful for me to provide better patches for the "named pin"
> thingie.
>
> 1) I tried to make a proper DB update script by adding a
> 410-to-500-migration.vm, then added that in dbscripts.properties but it
> doesn't seem to work. I probably need to change something else regarding the
> version?

There was never an official Roller 4.1 release, so the correct script
to add is 400-to-500 and I have a working one  in my workspace now.

<sidebar>
It would be better to have a more fine-grained versioning of database
changes. Using the Roller release number causes problems for people
who upgrade to latest trunk. I wonder if there is a way to use the SVN
rev number of the createdb.vm instead.
</sidebar>

> 2) When I add a column in, e.g. WeblogEntry.orm.xml, does the *create*
> scripts need to change as well or are they generated by the ORMs?

No. We do not rely on any ORM generated table definitions. We have our
own infrastructure for that.

- Dave

Reply via email to