mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +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:
parent
66cc34dbd2
commit
a8480e5e0a
@ -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();
|
||||
});
|
||||
}
|
||||
};
|
@ -28,7 +28,7 @@ access_points:
|
||||
- { Field: numasoclients, Type: smallint, 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: nummonclients, Type: smallint, 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: numactbssid, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: nummonbssid, Type: tinyint, 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: nummonbssid, Type: int, 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: interference, Type: 'tinyint unsigned', 'Null': false, Extra: '' }
|
||||
Indexes:
|
||||
PRIMARY: { Name: PRIMARY, Columns: [accesspoint_id], Unique: true, Type: BTREE }
|
||||
|
Loading…
Reference in New Issue
Block a user