diff --git a/database/migrations/2019_02_14_154310_change_auto_increment_prefix_to_nullable.php b/database/migrations/2019_02_14_154310_change_auto_increment_prefix_to_nullable.php index a76b0ec655..faf24747d1 100644 --- a/database/migrations/2019_02_14_154310_change_auto_increment_prefix_to_nullable.php +++ b/database/migrations/2019_02_14_154310_change_auto_increment_prefix_to_nullable.php @@ -14,7 +14,7 @@ class ChangeAutoIncrementPrefixToNullable extends Migration public function up() { Schema::table('settings', function (Blueprint $table) { - $table->boolean('auto_increment_prefix')->nullable()->default(null)->change(); + $table->string('auto_increment_prefix')->nullable()->default(null)->change(); }); } diff --git a/database/migrations/2019_02_16_144154_auto_increment_back_to_string.php b/database/migrations/2019_02_16_144154_auto_increment_back_to_string.php new file mode 100644 index 0000000000..435f43ae1d --- /dev/null +++ b/database/migrations/2019_02_16_144154_auto_increment_back_to_string.php @@ -0,0 +1,30 @@ +string('auto_increment_prefix')->nullable()->default(null)->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +}