feat: add sites migration support

This commit is contained in:
Prem Palanisamy
2026-01-30 11:35:02 +00:00
parent f0191202a0
commit af10257f43
2 changed files with 20 additions and 0 deletions
@@ -297,6 +297,8 @@ class Migrations extends Action
'files.write',
'functions.read',
'functions.write',
'sites.read',
'sites.write',
'tokens.read',
'tokens.write',
]
@@ -53,6 +53,24 @@ class MigrationReport extends Model
'default' => 0,
'example' => 20,
])
->addRule(Resource::TYPE_SITE, [
'type' => self::TYPE_INTEGER,
'description' => 'Number of sites to be migrated.',
'default' => 0,
'example' => 20,
])
->addRule(Resource::TYPE_SITE_DEPLOYMENT, [
'type' => self::TYPE_INTEGER,
'description' => 'Number of site deployments to be migrated.',
'default' => 0,
'example' => 20,
])
->addRule(Resource::TYPE_SITE_VARIABLE, [
'type' => self::TYPE_INTEGER,
'description' => 'Number of site variables to be migrated.',
'default' => 0,
'example' => 20,
])
->addRule('size', [
'type' => self::TYPE_INTEGER,
'description' => 'Size of files to be migrated in mb.',