ALTER TABLE ugc.contribution ALTER COLUMN metadata_id TYPE int;
ALTER TABLE ugc.contribution_data ALTER COLUMN data TYPE bytea USING data::bytea;
ALTER TABLE ugc.assignment ALTER COLUMN metadata_id TYPE int;
ALTER TABLE ugc.assignment_data ALTER COLUMN data TYPE bytea USING data::bytea;
