Yes, you'll need to fix it using something like phpmyadmin to edit the database like Chosen suggested. You can open a support ticket if you want and we can do it for you.

Will need to put in a safeguard so that doesn't happen.