1
0
Fork 0
forked from mirror/pixelfed

Add migration

This commit is contained in:
Daniel Supernault 2023-01-21 08:05:40 -07:00
parent bc205345a9
commit 0d549774f9
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -0,0 +1,29 @@
<?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()
{
//
}
};