|
|
@ -20,6 +20,7 @@ public function up(): void |
|
|
|
if($anulax && $gmail){ |
|
|
|
if($anulax && $gmail){ |
|
|
|
DB::table("photos")->where("user_id", $anulax->id)->update([ "user_id" => $gmail->id ]); |
|
|
|
DB::table("photos")->where("user_id", $anulax->id)->update([ "user_id" => $gmail->id ]); |
|
|
|
DB::table("albums")->where("user_id", $anulax->id)->update([ "user_id" => $gmail->id ]); |
|
|
|
DB::table("albums")->where("user_id", $anulax->id)->update([ "user_id" => $gmail->id ]); |
|
|
|
|
|
|
|
DB::table("users")->where("id", $anulax->id)->delete(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|