migrations
This commit is contained in:
parent
3c4a07ccae
commit
d47b11e495
@ -23,7 +23,6 @@ class CreateReportsTable extends Migration
|
|||||||
$table->string('period');
|
$table->string('period');
|
||||||
$table->string('basis');
|
$table->string('basis');
|
||||||
$table->string('chart');
|
$table->string('chart');
|
||||||
$table->boolean('enabled');
|
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
$table->softDeletes();
|
$table->softDeletes();
|
||||||
|
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
|
||||||
use Illuminate\Database\Migrations\Migration;
|
|
||||||
use Illuminate\Support\Facades\Schema;
|
|
||||||
|
|
||||||
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')->default(1);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user