ALTER TABLE notes ADD COLUMN owner_map TEXT NOT NULL DEFAULT '[]';
ALTER TABLE note_revisions ADD COLUMN author TEXT;
ALTER TABLE note_revisions ADD COLUMN owner_map TEXT NOT NULL DEFAULT '[]';
ALTER TABLE revisions ADD COLUMN author TEXT;
