cakephp/cakephp — pull request #1546 by rchavik (2013-08-21 09:36:46+00:00)
Title: Sqlite::truncate(): Verify `sqlite_sequence` exists before _execute()

`sqlite_sequence` is a dynamic table that's only available when a table in
the database use an auto increment field. For some cases, eg: databases that
exclusively use uuid for primary keys, this table won't exist and
truncate() call will fail with:

> Error: SQLSTATE[HY000]: General error: 1 no such table: sqlite_sequence