ALTER TABLE peer_pgp_keys ADD COLUMN state STRING check ( state = 'unchecked' or state = 'unknown' or state = 'known' ) NOT NULL DEFAULT 'unchecked';
ALTER TABLE peer_pgp_keys ALTER COLUMN state DROP DEFAULT;
