-- Migration: 000144_training_wecom_push (down) DO $$ BEGIN RAISE NOTICE '[Migration 000144] Dropping training WeCom push columns...'; END $$; DROP INDEX IF EXISTS idx_tr_notifications_push_pending; ALTER TABLE tr_notifications DROP COLUMN IF EXISTS push_status, DROP COLUMN IF EXISTS push_attempts, DROP COLUMN IF EXISTS pushed_at, DROP COLUMN IF EXISTS push_error; ALTER TABLE org_employees DROP COLUMN IF EXISTS wecom_userid;