Hi Lift Community, this is a reply to my own question: > I'm trying to get my first scala/lift app working and I have a > problem: Schemifier.schemify(...) creates everything, i.e. tables, > primary keys, indices but it does not create the foreign key > constraints.
After hours of compiling and testing, I stumbled across some messages here on the mailing lists which discussed the same problem (I have no idea why I haven't seen them before). In one message, Derek said > At this time we don't support it, but feel free to file an issue. > I'll have time at some point to work on it, and I think that it would > be useful to generate. What does he mean by "we don't support it"? I've seen the code for generating foreign key constraints in Schemifier.scala I just needed to set supportsForeignKeys_? in the postgresql driver class to true and... it works now. The generated foreign key constraints are perfectly ok. Is there a reason that this code is not used? Julian -- 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.