-- Remove constraint
ALTER TABLE payments DROP CONSTRAINT IF EXISTS check_split_type_valid;

-- Remove index
DROP INDEX IF EXISTS idx_payments_split_type;

-- Remove split_type column from payments table
ALTER TABLE payments DROP COLUMN IF EXISTS split_type; 