I'm okay with making the flag optional (but on by default with a breaking
changes notice) for the H2 database.

On Wed, Jan 20, 2010 at 11:09 AM, Naftoli Gugenheim <naftoli...@gmail.com>wrote:

> David and everone,
> Some time ago we discussed on this list what it would take to have
> Schemifier generate foreign key constraints. The obvious reason why it
> doesn't currently is because the relevant flag on all the DriverTypes is set
> to false.
> Derek was going to work on it but he got busy and didn't get far. Now, I
> personally, on my local repository, enabled foreign key generation for H2
> and it seems to have worked fine (although it gave me plenty of work
> manually fixing the integrity of my client's database so the keys could be
> generated successfully).
> In order for the tests to be successful, I had to change my ManyToManySpecs
> (if that's what it's called) to use a dummy DriverType with FK generation
> off, so it could test ManyToMany with broken joins.
> In any case, my quesion is, what criteria have to be fulfilled to push this
> (besides ReviewBoard approval obviously :) )?
> What level of testing?
> I assume it should be controllable with a flag that should, at least
> temporarily, be false. What form should this setting take?
> What other features should be supported? Different ON UPDATE/DELETE
> actions?
> Note that this is not the most immediate thing on my plate but I did
> already start as mentioned.
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.

Reply via email to