removed enabled column from reports

This commit is contained in:
denisdulici
2019-11-19 14:06:20 +03:00
parent 3e5b5b183d
commit dbb57eb86b
13 changed files with 66 additions and 80 deletions

View File

@ -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');
});
}
}