marshnmedia
marshnmedia
Having the exact same issue. Any solutions out there?
@shiziwen did you resolve this? I'm getting the same messages, but using erigon execution client on goerli
+1 also Has anything come of this? Maybe just a general "run query on connection" per connection. So you can do any number of things everytime you connect.
Most of the relations, Illuminate\Database\Eloquent\Relations\ *, have a function getRelationCountQuery. These functions return this: ``` php return $query->where($this->getQualifiedForeignKey(), '=', new Expression($otherKey)); ``` But for self referencing relations the table needs...
I think this is related to 4084. Most of the relations, Illuminate\Database\Eloquent\Relations\ *, have a function getRelationCountQuery. These functions return this: ``` php return $query->where($this->getQualifiedForeignKey(), '=', new Expression($otherKey)); ``` But...
softDeletingTrait does seem to re-apply scopes that have been removed. Any way around this?
I got around the issue in a hackish way for now by adding a special delete function on my model: public function scoped_delete() { if(Auth::user()->isSuperuser()) { $this->allTenants()->where($this->getKeyName(), $this->getKey())->delete(); }else {...
oh... found out the re-application of the scope was happening when using findOrFail. In my case I want a superuser to be able to delete any user, but all other...
I had the same issue. Instead of using the Homestead config `backup: true` I came up with another approach which backs up all databases on `vagrant destroy`, and imports all...