diff --git a/database/migrations/2017_06_14_122059_add_next_autoincrement_to_settings.php b/database/migrations/2017_06_14_122059_add_next_autoincrement_to_settings.php index a0c919d99e..682aa7960c 100644 --- a/database/migrations/2017_06_14_122059_add_next_autoincrement_to_settings.php +++ b/database/migrations/2017_06_14_122059_add_next_autoincrement_to_settings.php @@ -22,7 +22,7 @@ class AddNextAutoincrementToSettings extends Migration } Schema::table('settings', function (Blueprint $table) use ($next) { - $table->bigInteger('next_auto_tag_base')->nullable()->default(null); + $table->bigInteger('next_auto_tag_base')->default('1'); }); \Log::debug('Setting '.$next.' as default auto-increment');