Disable old upgrade command.

This commit is contained in:
James Cole 2024-01-01 09:45:21 +01:00
parent 5664695a92
commit 4747e28621
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -48,6 +48,7 @@ class MigrateRecurrenceType extends Command
*/
public function handle(): int
{
return 0;
if ($this->isExecuted() && true !== $this->option('force')) {
$this->friendlyInfo('This command has already been executed.');