提交 4df0fcef authored 作者: Thomas Mueller Graf's avatar Thomas Mueller Graf

The script command did not include sequences of temporary tables.

上级 cbbd1311
......@@ -528,7 +528,6 @@ public abstract class Table extends SchemaObjectBase {
while (sequences != null && sequences.size() > 0) {
Sequence sequence = sequences.get(0);
sequences.remove(0);
if (!isTemporary()) {
// only remove if no other table depends on this sequence
// this is possible when calling ALTER TABLE ALTER COLUMN
if (database.getDependentTable(sequence, this) == null) {
......@@ -536,7 +535,6 @@ public abstract class Table extends SchemaObjectBase {
}
}
}
}
/**
* Check that these columns are not referenced by a multi-column constraint
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论