Skip to content

A free open source IT asset/license management system

Set scim_externalid to nullable, default null

Brady Wetheringtoncd385e0865c8
diff --git a/database/migrations/2022_10_25_193823_add_externalid_to_users.php b/database/migrations/2022_10_25_193823_add_externalid_to_users.php
index 5f11e5946b..2e9caca40e 100644
--- a/database/migrations/2022_10_25_193823_add_externalid_to_users.php
+++ b/database/migrations/2022_10_25_193823_add_externalid_to_users.php
@@ -14,7 +14,7 @@ class AddExternalidToUsers extends Migration
public function up()
{
Schema::table('users', function (Blueprint $table) {
- $table->string('scim_externalid');
+ $table->string('scim_externalid')->nullable()->default(null);
});
}