From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-09 16:58:04
|
[ http://216.121.112.228/browse/NH-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo reopened NH-2200: ----------------------------- Assignee: Patrick Earl > SchemaExport: include foreign keys in CREATE TABLE (for SQLite) > --------------------------------------------------------------- > > Key: NH-2200 > URL: http://216.121.112.228/browse/NH-2200 > Project: NHibernate > Issue Type: Improvement > Components: DataProviders / Dialects > Affects Versions: 2.1.2.GA > Reporter: Matthew Gabeler-Lee > Assignee: Patrick Earl > > Since newer versions of SQLite support foreign key enforcement, it would be nice if the schema export functionality in NHibernate could generate foreign key clauses when working with the SQLite dialect. > Right now what's stopping this from being a trivial change to the SQLiteDialect class is that NHibernate only creates foreign keys with an ALTER TABLE statement, and SQLite doesn't support that. If NHibernate supported including the foreign keys in the CREATE TABLE statement, then SQLite's foreign key support could be used. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |