Jeremy/Gavin, Thanks for the explanation.
Scott On Fri, Jul 10, 2009 at 8:00 AM, Jeremy Evans <[email protected]>wrote: > > On Jul 10, 7:55 am, Gavin Kistner <[email protected]> wrote: > > On Jul 10, 2009, at 7:51 AM, Scott LaBounty <[email protected]> wrote: > > > > > I'll take a look at making the changes you suggest, they look to be > > > very helpful. I definitely see the problem with the foreign keys, > > > but why did everything seem to work? > > > > Because SQLite doesn't honor/enforce foreign key constraints. > > Note that foreign key references are never required. They're only > necessary if you want the database to enforce the referential > integrity. > > For historical reasons, foreign_key doesn't require a table argument, > and if it isn't given one, it'll just create an integer column. > > Jeremy > > > -- Scott http://steamcode.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en -~----------~----~----~----~------~----~------~--~---
