text: BEGIN;
  
  -- Drop view dependent on column
  DROP VIEW lsif_dumps;
  
  -- Drop column
  ALTER TABLE lsif_uploads DROP COLUMN filename;
  
  -- Recreate view with renamed columns
  CREATE VIEW lsif_dumps AS SELECT u.*, u.finished_at as processed_at FROM lsif_uploads u WHERE state = 'completed';
  
  COMMIT;
  