mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update the type of nummonbssid column in the access_points table (#15647)
* Update the type of nummonbssid field in the access_points table * Update 2023_12_15_105529_access_points_nummonbssid_integer.php Fix format errors
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('access_points', function (Blueprint $table) {
|
||||
$table->integer('nummonbssid')->change();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('access_points', function (Blueprint $table) {
|
||||
$table->tinyInteger('nummonbssid')->change();
|
||||
});
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user