SchemaExport for Sqlite creates invalid foreign keys

Description

When Entity is mapped by code SQL table creation code for SQLite is invalid
For example for entity:

and mapping:

SchemaExport creates SQL with empty referenced field:

But it must generate:

Environment

Windows 8.1 x86_64

Assignee

Unassigned

Reporter

Алексей Щербаков

Affects versions

Priority

Major
Configure