On Wed, Jun 11, 2008 at 04:37:20PM -0500, Nicolas Williams wrote: > Comments: > > - Why not update BACKEND_SCHEMA_VERSION? > > One possible answer: because minor schema changes don't warrant the > complexity of updating schema_version. It's easy enough to detect > the actual schema version by testing whether some statement compiles > or by looking at sqlite_master (idmapd does the latter, your changes > do the former).
And I see the real answer now too: to support downgrades. idmapd doesn't, but that's OK there, whereas for SMF not supporting downgrades would be... bad (no more backwards BFUs!). So yeah, just add a comment.