database icon indicating copy to clipboard operation
database copied to clipboard

💡 Fragment support in column type

Open msmakouz opened this issue 2 years ago • 0 comments

I have an idea!

It would be nice to add Fragment support when specifying the column type. When passing a Fragment, don't map it and use it as a custom type. For example, this will allow using the native json type in MySQL (and not map it to text).

#[Column(type: new Fragment('json'))]

msmakouz avatar Mar 14 '23 08:03 msmakouz