Change master site to sub-site?

Is there a way to change the master site to a sub-site?

EDIT:
I figured it out, just remove all the info from the db.