ALTER TABLE dbfs_files
RENAME COLUMN observed_state TO in_materialized_set;

ALTER TABLE dbfs_files
ADD COLUMN in_pending_set INT DEFAULT 0;

DELETE FROM dbfs_dbstate WHERE name='areobservationsuptodate';
DELETE FROM dbfs_dbstate WHERE name='currentobservedset';
DELETE FROM dbfs_dbStateBlob WHERE label='observedanchor';
