We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fee533 commit 6f700ccCopy full SHA for 6f700cc
app/Models/Import.php
@@ -14,4 +14,16 @@ class Import extends Model
14
'first_row' => 'array',
15
'field_map' => 'json',
16
];
17
+
18
+ /**
19
+ * Establishes the license -> admin user relationship
20
+ *
21
+ * @author A. Gianotto <[email protected]>
22
+ * @since [v2.0]
23
+ * @return \Illuminate\Database\Eloquent\Relations\Relation
24
+ */
25
+ public function adminuser()
26
+ {
27
+ return $this->belongsTo(\App\Models\User::class, 'created_by');
28
+ }
29
}
0 commit comments