Skip to content

A free open source IT asset/license management system

Got groups support working in Entra ID

Brady Wetherington73f4afa05ee1
diff --git a/database/migrations/2025_09_25_124321_add_external_id_to_groups.php b/database/migrations/2025_09_25_124321_add_external_id_to_groups.php
new file mode 100644
index 0000000000..c6e58c0cd1
--- /dev/null
+++ b/database/migrations/2025_09_25_124321_add_external_id_to_groups.php
@@ -0,0 +1,28 @@
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+return new class extends Migration
+{
+ /**
+ * Run the migrations.
+ */
+ public function up(): void
+ {
+ Schema::table('permission_groups', function (Blueprint $table) {
+ $table->string('scim_externalid')->nullable()->default(null);
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ */
+ public function down(): void
+ {
+ Schema::table('permission_groups', function (Blueprint $table) {
+ $table->dropColumn('scim_externalid');
+ });
+ }
+};