[Theia] Update getRESToType function to support column with 'DEFAULT' constraints