Added list of constraints to the tables page.
Last column shows the full textual definition until I have decided on a better way to visualize the details.
This commit is contained in:
parent
22db22c6b1
commit
a99f059b70
27 changed files with 663 additions and 22 deletions
|
|
@ -9,16 +9,19 @@
|
|||
#include <vector>
|
||||
|
||||
enum class ConstraintType {
|
||||
Check, // c
|
||||
ForeignKey, // f
|
||||
PrimaryKey, // p
|
||||
ForeignKey, // f
|
||||
Unique, // u
|
||||
Check, // c
|
||||
ConstraintTrigger, // t
|
||||
ExclusionConstraint, // x
|
||||
};
|
||||
|
||||
void operator<<(ConstraintType &s, const Pgsql::Value &v);
|
||||
|
||||
QString ShortNameForConstraintType(ConstraintType ct);
|
||||
QString LongNameForConstraintType(ConstraintType ct);
|
||||
|
||||
|
||||
enum class ForeignKeyAction {
|
||||
NoAction, // a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue