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

@ -7,6 +7,9 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
### Fixed
* Scheduled tasks triggered manually no longer improperly change the `next_run_at` time and do not run twice in a row anymore.
### Changed
* Egg and server variable values are no longer limited to 191 characters. Turns out some games require a large number of characters in these fields.
## v0.7.9 (Derelict Dermodactylus)
### Fixed
* Fixes a two-factor authentication bypass present in the password reset process for an account.

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();
});
}
}