Fix local.py remove database types