A free open source IT asset/license management system
Fixed migration
snipeb91ba47b0e75
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.phpindex 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 Migrationpublic 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.phpnew file mode 100644index 0000000000..435f43ae1d--- /dev/null+++ b/database/migrations/2019_02_16_144154_auto_increment_back_to_string.php@@ -0,0 +1,30 @@+<?php++use Illuminate\Support\Facades\Schema;+use Illuminate\Database\Schema\Blueprint;+use Illuminate\Database\Migrations\Migration;++class AutoIncrementBackToString extends Migration+{+ /**+ * Run the migrations.+ *+ * @return void+ */+ public function up()+ {+ Schema::table('settings', function (Blueprint $table) {+ $table->string('auto_increment_prefix')->nullable()->default(null)->change();+ });+ }++ /**+ * Reverse the migrations.+ *+ * @return void+ */+ public function down()+ {+ //+ }+}