-- +goose Up
ALTER TABLE ocr2_oracle_specs ALTER COLUMN feed_id DROP NOT NULL, ALTER COLUMN feed_id SET DEFAULT NULL;
UPDATE ocr2_oracle_specs SET feed_id=NULL WHERE feed_id='\x0000000000000000000000000000000000000000000000000000000000000000';

-- +goose Down
UPDATE ocr2_oracle_specs SET feed_id='\x0000000000000000000000000000000000000000000000000000000000000000' WHERE feed_id IS NULL;
ALTER TABLE ocr2_oracle_specs ALTER COLUMN feed_id SET NOT NULL, ALTER COLUMN feed_id SET DEFAULT '\x0000000000000000000000000000000000000000000000000000000000000000';
