Restructuring catalog tabs

- Moved detail tabs of table to their own components
- Table list has become seperate component on seperate tab
- Table list does not use designer anymore
- Moved sequences and functions tabs into the catalog inspector
This commit is contained in:
eelke 2019-02-09 09:49:27 +01:00
parent a704332342
commit 42432b06a9
31 changed files with 598 additions and 472 deletions

View file

@ -1,4 +1,5 @@
#include "PgConstraint.h"
#include "SqlFormattingUtils.h"
void operator<<(ConstraintType &s, const Pgsql::Value &v)
{
@ -172,3 +173,13 @@ QString PgConstraint::typeName() const
{
return "CONSTRAINT";
}
QString PgConstraint::dropSql() const
{
return getDropConstraintDefinition(catalog(), *this);
}
QString PgConstraint::createSql() const
{
return getAlterTableConstraintDefinition(catalog(), *this);
}