Reverted 0bf2dad: it's very common to use lower case for column types and upper case for other DB keywords.
Fixed build break.
Fixes #853: Added composite FK support for SQLite.