removed enabled column from reports
This commit is contained in:
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class DropEnabledColumnReportsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('reports', function (Blueprint $table) {
|
||||
$table->dropColumn('enabled');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('reports', function (Blueprint $table) {
|
||||
$table->boolean('enabled');
|
||||
});
|
||||
}
|
||||
}
|
@ -36,7 +36,6 @@ class Reports extends Seeder
|
||||
'period' => 'monthly',
|
||||
'basis' => 'accrual',
|
||||
'chart' => 'line',
|
||||
'enabled' => 1,
|
||||
],
|
||||
[
|
||||
'company_id' => $company_id,
|
||||
@ -47,7 +46,6 @@ class Reports extends Seeder
|
||||
'period' => 'monthly',
|
||||
'basis' => 'accrual',
|
||||
'chart' => 'line',
|
||||
'enabled' => 1,
|
||||
],
|
||||
[
|
||||
'company_id' => $company_id,
|
||||
@ -58,7 +56,6 @@ class Reports extends Seeder
|
||||
'period' => 'monthly',
|
||||
'basis' => 'accrual',
|
||||
'chart' => 'line',
|
||||
'enabled' => 1,
|
||||
],
|
||||
[
|
||||
'company_id' => $company_id,
|
||||
@ -69,7 +66,6 @@ class Reports extends Seeder
|
||||
'period' => 'quarterly',
|
||||
'basis' => 'accrual',
|
||||
'chart' => '0',
|
||||
'enabled' => 1,
|
||||
],
|
||||
[
|
||||
'company_id' => $company_id,
|
||||
@ -80,7 +76,6 @@ class Reports extends Seeder
|
||||
'period' => 'quarterly',
|
||||
'basis' => 'accrual',
|
||||
'chart' => '0',
|
||||
'enabled' => 1,
|
||||
],
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user