service templates - jellyfrog fixes - dbchanged - DeviceGroup relates to Service Template

This commit is contained in:
Anthony F McInerney
2020-10-21 14:55:37 +01:00
parent 73af819a60
commit ef93315db5

View File

@@ -34,7 +34,7 @@ class CreateServicesTemplateTable extends Migration
$table->unsignedInteger('service_template_changed')->default(0);
});
Schema::create('service_templates_perms', function (Blueprint $table) {
$table->id->first()();
$table->id()->first();
$table->unsignedInteger('user_id')->index();
$table->unsignedInteger('service_template_id');
});
@@ -48,7 +48,6 @@ class CreateServicesTemplateTable extends Migration
$table->primary(['device_group_id', 'service_template_id']);
});
}
/**
* Reverse the migrations.
*