mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
45 lines
755 B
PHP
45 lines
755 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
return new class extends Migration {
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
\Illuminate\Support\Facades\Artisan::call('ninja:design-update');
|
|
|
|
$t = \App\Models\Country::find(158);
|
|
|
|
if($t) {
|
|
$t->full_name = 'Taiwan';
|
|
$t->name = 'Taiwan';
|
|
$t->save();
|
|
}
|
|
|
|
$m = \App\Models\Country::find(807);
|
|
|
|
if($m) {
|
|
$m->full_name = 'Macedonia';
|
|
$m->name = 'Macedonia';
|
|
$m->save();
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
//
|
|
}
|
|
};
|