Cleaned up field generation using peeweemysqldata.py.