1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

Merge pull request #8298 from appwrite/fix-migrate-validation

Disable validation for project DBs during migration
This commit is contained in:
Jake Barnby 2024-06-21 13:46:55 +12:00 committed by GitHub
commit ba43358ac4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,6 +93,7 @@ class Migrate extends Action
// TODO: Iterate through all project DBs
/** @var Database $projectDB */
$projectDB = $getProjectDB($project);
$projectDB->disableValidation();
$migration
->setProject($project, $projectDB, $dbForConsole)
->setPDO($register->get('db', true))