ALTER table question DROP column session;
ALTER TABLE account ADD column email varchar(50) NOT NULL default '';

DO $$
    BEGIN
        IF EXISTS (SELECT 1 FROM pg_type WHERE typname = 'leadtargettype') THEN
            DROP TYPE LeadTargetType;
        END IF;
    END $$;

DROP TABLE IF EXISTS leadtarget;
