-- Every save bumps the revision; a save made from an older one is refused, -- so two people editing at once cannot silently overwrite each other. ALTER TABLE notes ADD COLUMN revision INTEGER NOT NULL DEFAULT 0;