Move Archive event to cloud

This commit is contained in:
fogelito 2024-06-09 17:15:17 +03:00
parent d5025e7db3
commit 25b661b908

View file

@ -10,7 +10,6 @@ class Migration extends Event
{
protected string $type = '';
protected ?Document $migration = null;
protected ?Document $archive = null;
public function __construct(protected Connection $connection)
{
@ -34,19 +33,6 @@ class Migration extends Event
return $this;
}
/**
* Sets archive
*
* @param Document $archive
* @return self
*/
public function setArchive(Document $archive): self
{
$this->archive = $archive;
return $this;
}
/**
* Returns set migration document for the function event.
*
@ -96,7 +82,6 @@ class Migration extends Event
'project' => $this->project,
'user' => $this->user,
'migration' => $this->migration,
'archive' => $this->archive
]);
}
}