CengSin / oracle

GORM oracle driver
Other
111 stars 43 forks source link

fix gorm text type not being used #8

Closed NicuDine closed 3 years ago

NicuDine commented 3 years ago

If one describes a string field as gorm:"type:text". It will not be taken into consideration as the sql variable defined in default is different than the original one at line 155.:=` creating a new variable. As the function returns the first variable in this case it will actually return an empty string.