HHH-11016 - Added 'if exists' for sequence drop statements for PostgreSQL82 and derivatives.
This commit is contained in:
parent
f5bb3bac38
commit
5eacf421fb
|
@ -51,4 +51,9 @@ public class PostgreSQL82Dialect extends PostgreSQL81Dialect {
|
|||
null
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDropSequenceString(String sequenceName) {
|
||||
return "drop sequence if exists " + sequenceName;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue