Skip to content

Commit

Permalink
Add migration
Browse files Browse the repository at this point in the history
  • Loading branch information
mnigh committed Dec 24, 2024
1 parent c666871 commit 8f76e02
Showing 1 changed file with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
DB::table('work_streams')
->where('key', 'SECURITY')
->update(['name->fr' => 'Sécurité']);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
DB::table('work_streams')
->where('key', 'SECURITY')
->update(['name->fr' => 'Sécurité de la TI']);
}
};

0 comments on commit 8f76e02

Please sign in to comment.