parent
							
								
									f02fc26223
								
							
						
					
					
						commit
						0f4d05e90f
					
				
				 3 changed files with 34 additions and 4 deletions
			
			
		| @ -0,0 +1,27 @@ | |||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | use Illuminate\Database\Migrations\Migration; | ||||||
|  | use Illuminate\Database\Schema\Blueprint; | ||||||
|  | use Illuminate\Support\Facades\DB; | ||||||
|  | use Illuminate\Support\Facades\Schema; | ||||||
|  | 
 | ||||||
|  | return new class extends Migration | ||||||
|  | { | ||||||
|  |     /** | ||||||
|  |      * Run the migrations. | ||||||
|  |      */ | ||||||
|  |     public function up(): void | ||||||
|  |     { | ||||||
|  |         DB::table("users")->where("path", "profiles/none.svg")->update([ | ||||||
|  |             "path" => "profiles/none.webp" | ||||||
|  |         ]); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * Reverse the migrations. | ||||||
|  |      */ | ||||||
|  |     public function down(): void | ||||||
|  |     { | ||||||
|  |          | ||||||
|  |     } | ||||||
|  | }; | ||||||
					Loading…
					
					
				
		Reference in New Issue