Restored old sql setup-thingy