remove unused deploy tables and add json field to deployorders tables