Fix DROP sql for partitioned table.

This commit is contained in:
eelke 2023-01-30 20:08:24 +01:00
parent 2ff9577d41
commit 61f90668d8
6 changed files with 33 additions and 4 deletions

View file

@ -14,7 +14,8 @@ enum class RelPersistence {
void operator<<(RelPersistence &s, const Pgsql::Value &v);
enum class RelKind {
enum class RelKind
{
Table, // r
Index, // i
Sequence, // S
@ -58,6 +59,9 @@ public:
QString typeName() const override;
QString aclAllPattern() const override;
protected:
virtual QString ddlTypeName() const override;
private:
mutable QString createSqlCache;