diff --git a/database/migrations/2024_04_28_135546_fix_license_again.php b/database/migrations/2024_04_28_135546_fix_license_again.php new file mode 100644 index 00000000000..ec555ca92ef --- /dev/null +++ b/database/migrations/2024_04_28_135546_fix_license_again.php @@ -0,0 +1,22 @@ +where('license', '=', 'CC-BY-SA')->update(['license' => 'CC-BY-SA-4.0']); + DB::table('albums')->where('license', '=', 'CC-BY-NC-SA')->update(['license' => 'CC-BY-NC-SA-4.0']); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + } +};