Replies: 1 comment 5 replies
-
After changing tables (especially when adding columns), you need to write a schema migration responsible for writing theses changes to an existing database. Otherwise, moor will expect columns that aren't there, which can cause the error you received. There will be similar errors when inserting new rows into a database that doesn't have the updated columns yet. If you don't want to do that, and you haven't released your app to actual users yet, you can delete your app's data on the real device and install it again. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've made some changes in a table, changes name, add some column, remove some, etc...
When i run on emulator it's run fine. But on real device i receive
null check operator use on null
I clean everything, uninstall app and reinstall, delete
.g
file and build again but no useBeta Was this translation helpful? Give feedback.
All reactions