columnAffinity method
Looks up the correct column affinity for a declared type name with the rules described here: https://www.sqlite.org/datatype3.html#determination_of_column_affinity
Implementation
@visibleForTesting
BasicType? columnAffinity(String? typeName) =>
resolveColumnType(typeName).type;