Merge pull request #6295 from turbo124/v5-develop

Set 'invoice_task_datelog' to true
This commit is contained in:
David Bomba 2021-07-19 17:46:31 +10:00 committed by GitHub
commit 44c88496af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class SetInvoiceTaskDatelogTrueInCompaniesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('companies', function (Blueprint $table) {
$table->boolean('invoice_task_datelog')->default(1)->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
}
}