Made a start with showing foreignkeys in column list.

Not finished, need to decide what to do with multiple and multi column fkeys.
This commit is contained in:
eelke 2017-12-25 10:31:58 +01:00
parent a76686acfd
commit 190a6c04dc
14 changed files with 97 additions and 94 deletions

View file

@ -17,6 +17,7 @@ public:
TypeCol,
NullCol,
DefaultCol,
ForeignKeyCol,
CollationCol,
colCount };
@ -44,6 +45,8 @@ protected:
t_Columns m_columns;
std::vector<PgIndex> m_indexes;
QString getFKey(const PgAttribute &column) const;
};
#endif // COLUMNTABLEMODEL_H