diff --git a/CHANGELOG.md b/CHANGELOG.md index d6f9a3a1d..7e6403d12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/database/migrations/2018_09_03_143756_allow_egg_variables_to_have_longer_values.php b/database/migrations/2018_09_03_143756_allow_egg_variables_to_have_longer_values.php new file mode 100644 index 000000000..199650940 --- /dev/null +++ b/database/migrations/2018_09_03_143756_allow_egg_variables_to_have_longer_values.php @@ -0,0 +1,32 @@ +text('default_value')->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('egg_variables', function (Blueprint $table) { + $table->string('default_value')->change(); + }); + } +} diff --git a/database/migrations/2018_09_03_144005_allow_server_variables_to_have_longer_values.php b/database/migrations/2018_09_03_144005_allow_server_variables_to_have_longer_values.php new file mode 100644 index 000000000..cc90e0e06 --- /dev/null +++ b/database/migrations/2018_09_03_144005_allow_server_variables_to_have_longer_values.php @@ -0,0 +1,32 @@ +text('variable_value')->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('server_variables', function (Blueprint $table) { + $table->string('variable_value')->change(); + }); + } +}