Sqlite Foreign Key Not Working, … 2 The problem is in the FK constraint, because they are not enabled.