Super simplistic version of Table::save()
Fixed error in newer versions of postgres