You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I using reliese version 1.1.3. When I tried to save record on this model what I get in field "params" is json value of whole record included "params" inside liked bellow
model define
use Reliese\Database\Eloquent\Model;
class CourseAutomation extends Model
protected $casts = [
...
'params' => 'array' //this is json field
...
];
protected $fillable = [
...
'params',
...
];
}
I'm sorry for writing this, but it is not advised to use Reliese\Database\Eloquent\Model; please use Illuminate\Database\Eloquent\Model instead. The former was a proof of concept for an old version of Laravel and unfortunately was not fully tested. It was removed from the default configurations and it should be deprecated. Once again, I'm sorry for the inconvenience it may have caused.
Hello,
I using reliese version 1.1.3. When I tried to save record on this model what I get in field "params" is json value of whole record included "params" inside liked bellow
model define
save record
data was saved
but here is what I got in database:
When I change extends of model to Illuminate\Database\Eloquent\Model it working fine.
Hope it could be fine with reliese in next version.
The text was updated successfully, but these errors were encountered: