Base File model sort order error when not using numerical ids
Winter CMS Build
dev-develop
PHP Version
8.0
Database engine
MySQL/MariaDB
Plugins installed
No response
Issue description
Whn extending the base file class Winter\Storm\Database\Attach\File with ids other than numerical (eg uuids) the sort order trait located in Winter\Storm\Database\Attach\File will not work with the id because it isnt numerical.
this is the error i end up encountering:

Text: PDOException: SQLSTATE[01000]: Warning: 1265 Data truncated for column 'sort_order' at row 1 in /home/ubuntu/manga/vendor/laravel/framework/src/Illuminate/Database/Connection.php:488
Steps to replicate
- Create a new class extending
Winter\Storm\Database\Attach\File - make the id uuids or non-numerical.
- try to create attachments
Workaround
No response
This issue will be closed and archived in 3 days, as there has been no activity in the last 60 days. If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue. If this issue is critical to your business, consider joining the Premium Support Program where a Service Level Agreement is offered.
This issue will be closed and archived in 3 days, as there has been no activity in the last 60 days. If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue. If this issue is critical to your business, consider joining the Premium Support Program where a Service Level Agreement is offered.
This issue will be closed and archived in 3 days, as there has been no activity in this issue for the last 6 months. If this issue is still relevant or you would like to see it actioned, please respond within 3 days. If this issue is critical for your business, please reach out to us at [email protected].
This issue will be closed and archived in 3 days, as there has been no activity in this issue for the last 6 months. If this issue is still relevant or you would like to see it actioned, please respond within 3 days. If this issue is critical for your business, please reach out to us at [email protected].
This issue will be closed and archived in 3 days, as there has been no activity in this issue for the last 6 months. If this issue is still relevant or you would like to see it actioned, please respond within 3 days. If this issue is critical for your business, please reach out to us at [email protected].