Use SQLITE_MASTER to check tables.