We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 640d0a2 commit 37b2d67Copy full SHA for 37b2d67
src/net/tsz/afinal/FinalDb.java
@@ -379,7 +379,7 @@ public void dropTable(Class<?> clazz) {
379
*/
380
public void dropDb() {
381
Cursor cursor = db.rawQuery(
382
- "SELECT name FROM sqlite_master WHERE type ='table'", null);
+ "SELECT name FROM sqlite_master WHERE type ='table' AND name != 'sqlite_sequence'", null);
383
if (cursor != null) {
384
while (cursor.moveToNext()) {
385
// 添加异常捕获.忽略删除所有表时出现的异常:
0 commit comments