HHH-10937 - The generation of the drop schema does not filter sequence with schemaFilter
This commit is contained in:
parent
a190d2f3eb
commit
73df331415
|
@ -242,6 +242,9 @@ public class SchemaDropperImpl implements SchemaDropper {
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( Sequence sequence : namespace.getSequences() ) {
|
for ( Sequence sequence : namespace.getSequences() ) {
|
||||||
|
if ( !schemaFilter.includeSequence( sequence ) ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
checkExportIdentifier( sequence, exportIdentifiers );
|
checkExportIdentifier( sequence, exportIdentifiers );
|
||||||
applySqlStrings( dialect.getSequenceExporter().getSqlDropStrings( sequence, metadata ), formatter, options, targets );
|
applySqlStrings( dialect.getSequenceExporter().getSqlDropStrings( sequence, metadata ), formatter, options, targets );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue