code to add public field to assignments added to db.py