Andrea Boriero is right. It's because the table doesn't exist. So anything before or after constraint is not sufficient here.
Do you want me to work on my PR to include Dialect.supportsIfExistsAfterAlterTable() or do you want to do it on your own!?