sql fix and cleanup
Ignore uploads