The SQL tab for a table now also shares the grant/revoke statements for that table (but not yet any column level grants).

This commit is contained in:
eelke 2018-12-27 12:07:19 +01:00
parent 93687df959
commit 4ec4e02411
3 changed files with 12 additions and 0 deletions

View file

@ -267,6 +267,7 @@ void TablesPage::updateSqlTab(const std::optional<PgClass> &table)
// Privileges
create_sql += "-- set Privileges\n";
create_sql += table->grantSql();
// Comments
create_sql += "-- set Comments table + columns\n";