I get this error every now and then and dont know ...
# room
a
I get this error every now and then and dont know how to resolve it in production. The schema is different, because the columns are in a different order and causes my app to crash. See the code:
Found: TableInfo{name='notifications', columns={has_been_seen=Column{name='has_been_seen', type='INTEGER', affinity='3', notNull=true, primaryKeyPosition=0, defaultValue='null'}, topic=Column{name='topic', type='TEXT', affinity='2', notNull=false, primaryKeyPosition=0, defaultValue='NULL'}, id=Column{name='id', type='INTEGER', affinity='3', notNull=true, primaryKeyPosition=1, defaultValue='null'}, message=Column{name='message', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='null'}, timestamp=Column{name='timestamp', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='null'}}, foreignKeys=[], indices=[]} TableInfo{name='notifications', columns={topic=Column{name='topic', type='INTEGER', affinity='3', notNull=false, primaryKeyPosition=0, defaultValue='null'}, has_been_seen=Column{name='has_been_seen', type='INTEGER', affinity='3', notNull=true, primaryKeyPosition=0, defaultValue='null'}, id=Column{name='id', type='INTEGER', affinity='3', notNull=true, primaryKeyPosition=1, defaultValue='null'}, message=Column{name='message', type='INTEGER', affinity='3', notNull=true, primaryKeyPosition=0, defaultValue='null'}, timestamp=Column{name='timestamp', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='null'}}, foreignKeys=[], indices=[]}