Added packet debug on web UI

This commit is contained in:
Deon George
2021-06-29 20:43:29 +10:00
parent dc86f7c008
commit 987b4040fb
17 changed files with 1095 additions and 792 deletions

View File

@@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddCodeToSoftware extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('software', function (Blueprint $table) {
$table->integer('code')->nullable(); // Mailer/Tosser Product Code
$table->integer('type'); // Mailer/Tosser
$table->unique(['code','type']);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('software', function (Blueprint $table) {
$table->dropUnique(['code','type']);
$table->dropColumn('code');
$table->dropColumn('type');
});
}
}