If the company is incorporated...C Corp, S Corp, LLC...it has a life of its own. You can BK the company without any affect on your personal credit UNLESS you have personally guaranteed some of its debts. In that case, they'll come after you...
On the other hand, if it isn't incorporated...then its all you...