]> git.localhorst.tv Git - alttp.git/blob - database/migrations/2024_05_07_130124_replace_old_zelda_twitch_id.php
respond to whispers
[alttp.git] / database / migrations / 2024_05_07_130124_replace_old_zelda_twitch_id.php
1 <?php
2
3 use Illuminate\Database\Migrations\Migration;
4 use Illuminate\Database\Schema\Blueprint;
5 use Illuminate\Support\Facades\Schema;
6
7 return new class extends Migration
8 {
9         /**
10          * Run the migrations.
11          */
12         public function up(): void
13         {
14                 DB::table('chat_logs')
15                         ->where('twitch_category', '=', '899559811')
16                         ->update(['twitch_category' => '9435']);
17         }
18
19         /**
20          * Reverse the migrations.
21          */
22         public function down(): void
23         {
24                 //
25         }
26 };