A free open source IT asset/license management system
Make field nullable
snipe88661a58a77d
diff --git a/database/migrations/2023_10_25_064324_add_show_in_requestable_to_custom_fields.php b/database/migrations/2023_10_25_064324_add_show_in_requestable_to_custom_fields.phpindex ed667590f8..710a56e819 100644--- a/database/migrations/2023_10_25_064324_add_show_in_requestable_to_custom_fields.php+++ b/database/migrations/2023_10_25_064324_add_show_in_requestable_to_custom_fields.php@@ -14,7 +14,7 @@ class AddShowInRequestableToCustomFields extends Migrationpublic function up(){Schema::table('custom_fields', function (Blueprint $table) {- $table->boolean('show_in_requestable_list')->after('show_in_email')->default(0);+ $table->boolean('show_in_requestable_list')->after('show_in_email')->nullable()->default(0);});}