Enable system mail hold
This commit is contained in:
32
database/migrations/2022_01_15_112024_system_mail_hold.php
Normal file
32
database/migrations/2022_01_15_112024_system_mail_hold.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class SystemMailHold extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('systems', function (Blueprint $table) {
|
||||
$table->boolean('hold')->default(FALSE);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('systems', function (Blueprint $table) {
|
||||
$table->dropColumn(['hold']);
|
||||
});
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user