no message

This commit is contained in:
StudioTem committed 2023-02-07 12:42:22 +01:00
1 parent b011c9beb7
commit ce454ffd0e
1 file changed
+33
@@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('attachments', function (Blueprint $table) {
$table->foreignIdFor( \App\Models\SubTask::class)->nullable()->after('master_task_id');
$table->bigInteger( 'master_task_id')->nullable()->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('master_tasks', function (Blueprint $table) {
//
});
}
};