pixelfed/database/migrations/2023_01_21_124608_fix_duplicate_profiles.php
Daniel Supernault 0d549774f9
Add migration
2023-01-21 08:05:40 -07:00

29 lines
496 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\Artisan;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Artisan::call('fix:profile:duplicates');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
};