for columns of type reflect.Ptr, use element type

Fixes all pointers from turning into varchar(255) when creating tables.