Updating sqlite database versions?

后端 未结 2 356
予麋鹿
予麋鹿 2020-12-09 21:57

I have a database that I want to add a column to, I changed the static database version but when I run the program on my device the new column is still not there so I am gue

2条回答
  •  难免孤独
    2020-12-09 22:51

    I suggest you increment DATABASE_VERSION by one, that will lead the application to call onUpgrade()

提交回复
热议问题