DROP INDEX IF EXISTS idx_designations_department_id;
DROP INDEX IF EXISTS idx_designations_is_active;
DROP INDEX IF EXISTS idx_designations_code_unique;

ALTER TABLE designations
    DROP COLUMN IF EXISTS updated_at,
    DROP COLUMN IF EXISTS is_active,
    DROP COLUMN IF EXISTS can_approve,
    DROP COLUMN IF EXISTS can_manage_team,
    DROP COLUMN IF EXISTS level,
    DROP COLUMN IF EXISTS description,
    DROP COLUMN IF EXISTS department_id,
    DROP COLUMN IF EXISTS code;
