split DbType, add default column values and references to not-mapped tables