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