-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
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
add restore and make user more customizable with Page::class #76
base: main
Are you sure you want to change the base?
Conversation
Khant-Nyar
commented
Jul 20, 2024
- restore a disk of a row
- show and hide optional for download and delete button at table
+1 |
fn (BackupDestination $record) => | ||
Artisan::call('backup:restore', [ | ||
'--backup' => $record->path, | ||
]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add '--reset' => true,
or maybe pass it as params, otherwise you'll get an error that you have duplicate lines in your database. I created a fork to make this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reminded me ,I forget to update it I already changed in my prod project.