@@ -11,6 +11,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
class NodeAuth extends Model
{
protected $table = 'node_auth';
+ protected $fillable = ['key', 'secret'];
public function node(): BelongsTo
@@ -10,5 +10,5 @@ use Illuminate\Database\Eloquent\Model;
class NodeCertificate extends Model
protected $table = 'node_certificate';
- protected $guarded = ['id'];
+ protected $fillable = ['domain', 'key', 'pem'];
}