Fatal error: Uncaught Error: Interface "Magento\Framework\Setup\Patch\SchemaPatchInterface" not found in /var/www/magento/html/app/code/Amasty/Rules/Setup/Patch/Schema/UpdateForeignKey.php:22
Stack trace:
#0 {main}
thrown in /var/www/magento/html/app/code/Amasty/Rules/Setup/Patch/Schema/UpdateForeignKey.php on line 22