Dont limit length of variable values, closes #1264

This commit is contained in:
Dane Everitt 2018-09-03 14:43:05 -07:00
parent 5bd3f59455
commit e404918bff
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,32 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AllowEggVariablesToHaveLongerValues extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('egg_variables', function (Blueprint $table) {
$table->text('default_value')->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('egg_variables', function (Blueprint $table) {
$table->string('default_value')->change();
});
}
}

View file

@ -0,0 +1,32 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AllowServerVariablesToHaveLongerValues extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('server_variables', function (Blueprint $table) {
$table->text('variable_value')->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('server_variables', function (Blueprint $table) {
$table->string('variable_value')->change();
});
}
}