Skip to content

数据库升级默认方法有问题 #61

@daelan-zhou

Description

@daelan-zhou

https://github.com/kymjs/KJFrameForAndroid/blob/master/KJFrame/kjframe/src/main/java/org/kymjs/kjframe/KJDB.java#L826
这里调用 dropDb() 方法,而方法里的
Cursor cursor = db.rawQuery( "SELECT name FROM sqlite_master WHERE type ='table'", null);
db 这会儿还是null,会有异常

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions