[Solved] Error in my first table in kotlin
[ad_1] @laalto is right, you need to re-create your table once you’ve dropped it, you need to add a call to onCreate(p0) inside your onUpgrade() method. I removed a couple of unneeded fields on your class, this is how it looks now: class DbManger(context: Context) { val dbName = “MyNotes” val dbTable = “Notes” val … Read more