Simplify code

This commit is contained in:
Martin Kleusberg
2018-09-09 22:18:45 +02:00
parent 4f0d3505ed
commit 918248acaa
6 changed files with 57 additions and 58 deletions

View File

@@ -152,7 +152,7 @@ public:
* @param newSchema Set this to a non-empty string to move the table to a new schema
* @return true if renaming was successful, false if not. In the latter case also lastErrorMessage is set
*/
bool alterTable(const sqlb::ObjectIdentifier& tablename, const sqlb::Table& table, const QString& name, sqlb::FieldPtr to, int move = 0, QString newSchemaName = QString());
bool alterTable(const sqlb::ObjectIdentifier& tablename, const sqlb::Table& table, const QString& name, const sqlb::Field* to, int move = 0, QString newSchemaName = QString());
objectMap getBrowsableObjects(const QString& schema) const;