Comment 11 for bug 660307

Revision history for this message
Seif Lotfy (seif) wrote :

So my take on this would be to check every table upon startup for validity.
This requires however that we know what current scheme the db is on how how the structure would look like.
This means we need to store the table structures and compare them on startup.
We will be confronted with two scenarios:
1) we are in scheme 0 or 1 and a new zeitgeist with version 2 is installed, we will have to check for 0 or 1 first before trying to upgrade to scheme 2.
2) our current DB is in scheme 2 however is currupt. We will need to rebuild.