Added field for manual/scheduled tests

This commit is contained in:
Henry Whitaker
2020-07-03 10:42:18 +01:00
parent 04d24098ef
commit b1f00d2aa1
10 changed files with 58 additions and 9 deletions

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateSpeedtestsAddManualColumn extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('speedtests', function($table) {
$table->boolean('scheduled')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('speedtests', function($table) {
$table->dropColumn('scheduled');
});
}
}