[web-devel] Yesod, Sqlite, Enabling Foreign Key Support

Michael Snoyman michael at snoyman.com
Wed Apr 27 07:11:40 CEST 2011

I'm not sure we want to enable this by default. What about just
providing a helper function that enables the pragma? There's already
enough available from the public API to execute arbitrary SQL
statements. I don't use SQLite for production deployments personally,
so if others have an opinion on this, I'd like to hear it.


On Tue, Apr 26, 2011 at 1:31 PM, Anton Cheshkov <acheshkov at gmail.com> wrote:
> Hi Michael.
> Please show the way to enable foreign key support from sqlite connection.
> Now foreign key constrints does not work for sqlite from Yesod.
> Thanks.
> http://www.sqlite.org/foreignkeys.html
> --
> Best regards,
> Cheshkov Anton
> Phone: +7 909 005 18 82
> Skype: cheshkov_anton

More information about the web-devel mailing list