Create tables with fields in same order as defined in struct