Keep the types of virtual columns after yaml serialization

On MySQL and PostgreSQL, the adapter does not type cast virtual columns
for us.
Merge pull request #15609 from sgrif/sg-yaml-virtual-columns

Keep the types of virtual columns after yaml serialization