Skip to content
Snippets Groups Projects
Commit c0c47cbf authored by Jonathan Foucher's avatar Jonathan Foucher
Browse files

update measures in seeders + level_0 in migration . Fixes...

update measures in seeders + level_0 in migration . Fixes https://app.asana.com/0/1202404842967175/1202819031505433
parent b93c3aca
No related branches found
No related tags found
No related merge requests found
Pipeline #30798 canceled
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\DB;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::table('measures')->update(['level0_actual_label' => DB::raw("CONCAT(`level0_actual_label`, ' ou ne sais pas')")]);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
};
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment