We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replicating and saving a new model fails as it tries to insert into the rn column which doesn't exist.
rn
$model = Model::find(1); $newRecord = $model->replicate(); $newRecord->setTable('whatever'); $newRecord->save();
This can be worked around by using replicate(['rn']) which excludes it.
replicate(['rn'])
The text was updated successfully, but these errors were encountered:
Thanks for reporting, will review this as soon as I can. If you can, please do not hesitate to submit a PR.
Sorry, something went wrong.
No branches or pull requests
Summary of problem or feature request
Replicating and saving a new model fails as it tries to insert into the
rn
column which doesn't exist.Code snippet of problem
This can be worked around by using
replicate(['rn'])
which excludes it.System details
The text was updated successfully, but these errors were encountered: