added color to mastertasks

This commit is contained in:
StudioTem committed 2023-01-27 10:13:11 +01:00
1 parent 28629dcf3a
commit ca26843406
4 files changed
+39

No files matched your search

@@ -0,0 +1,32 @@
<?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('master_tasks', function (Blueprint $table) {
$table->string('color')->after('is_finished');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('master_task', function (Blueprint $table) {
//
});
}
};