Android cannot upgrade my database when first query is using readonly database

前端 未结 3 1457
轻奢々
轻奢々 2021-01-16 06:14

So I\'ve been so far relying heavily on the automated (well almost) onCreate / onUpgrade method of my SQLite database. It was all work

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-16 06:52

    Some time column name is repeating during create statement..

    create table tbl (Col1 TEXT,Col2 INTEGER,Col3 INTEGER,Col1 INTEGER,Col5 INTEGER); 
    

    Like here Col1 is repeat twice...

提交回复
热议问题