Laravel 11.0 blog application with Hotwire, Horizon, Telescope, Sanctum, Breeze and Pusher
1.75k
stars
572
forks
source link
Migration error (2022_04_30_011124_add_generated_conversions_to_media_table) in MySQL #131
Closed
gludovatza closed 2 weeks ago
https://github.com/guillaumebriday/laravel-blog/blob/aebc310059ea0301093b491a690eed092899dc7b/database/migrations/2022_04_30_011124_add_generated_conversions_to_media_table.php#L32
The correct code is: 'generated_conversions' => DB::raw("JSON_EXTRACT(custom_properties, '$.generated_conversions')"), via https://github.com/spatie/laravel-medialibrary/blob/main/UPGRADING.md