Sqlite parses both CONSTRAINT and REFERENCES but ignores them in the
sense no foreign key is created.
This means data integrity is quite at risk with such a rdbms: I read
that you can enforce REFERENCES, i.e. getting something like the MySQL
CASCADE ON DELETE, through TRIGGERS and it seems quite easy but as far
as I know you can set this kind of Triggers only if you used the
CONSTRAINT statement in the table CREATE.
Can you confirm this? I suppose that due to this sqlite limitation,
without triggers, ORM would let you delete a record even if there are
other tables referencing to that record, is this correct?
carlo