mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
parent
6aa7717403
commit
77d21c1d05
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class ChangeCacheToMediumtext extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('cache', function (Blueprint $table) {
|
||||
$table->mediumText('value')->change();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('cache', function (Blueprint $table) {
|
||||
$table->text('value')->change();
|
||||
});
|
||||
}
|
||||
}
|
@ -347,7 +347,7 @@ bill_port_counters:
|
||||
cache:
|
||||
Columns:
|
||||
- { Field: key, Type: varchar(255), 'Null': false, Extra: '' }
|
||||
- { Field: value, Type: text, 'Null': false, Extra: '' }
|
||||
- { Field: value, Type: mediumtext, 'Null': false, Extra: '' }
|
||||
- { Field: expiration, Type: int, 'Null': false, Extra: '' }
|
||||
Indexes:
|
||||
cache_key_unique: { Name: cache_key_unique, Columns: [key], Unique: true, Type: BTREE }
|
||||
|
Loading…
Reference in New Issue
Block a user