comments on columns

Show the comments in the list of columns of a table.
Generate SQL to set them.
This commit is contained in:
eelke 2021-03-08 17:23:34 +01:00
parent 9d58af8cd2
commit d6aeef492d
5 changed files with 23 additions and 3 deletions

View file

@ -31,6 +31,7 @@ public:
QString defaultValue; ///< Comes from pg_attrdef table
QString sername, serschema; // serial sequence name and schema
QString description; ///< from pg_description
bool operator==(Key _k) const { return relid == std::get<0>(_k) && num == std::get<1>(_k); }
bool operator==(const QString &n) const { return name == n; }