pixelfed/database/migrations/2023_01_21_124608_fix_duplicate_profiles.php

30 lines
496 B
PHP
Raw Permalink Normal View History

2023-01-21 15:05:40 +00:00
<?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()
{
//
}
};