Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information