mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 14:16:01 +00:00
table editor WIP
This commit is contained in:
3
packages/types/dbinfo.d.ts
vendored
3
packages/types/dbinfo.d.ts
vendored
@@ -9,6 +9,7 @@ export interface ColumnReference {
|
||||
}
|
||||
|
||||
export interface ConstraintInfo extends NamedObjectInfo {
|
||||
groupId?: string;
|
||||
constraintName: string;
|
||||
constraintType: 'primaryKey' | 'foreignKey' | 'index' | 'check' | 'unique';
|
||||
}
|
||||
@@ -38,6 +39,7 @@ export interface CheckInfo extends ConstraintInfo {
|
||||
}
|
||||
|
||||
export interface ColumnInfo extends NamedObjectInfo {
|
||||
groupId?: string;
|
||||
columnName: string;
|
||||
notNull: boolean;
|
||||
autoIncrement: boolean;
|
||||
@@ -53,6 +55,7 @@ export interface ColumnInfo extends NamedObjectInfo {
|
||||
}
|
||||
|
||||
export interface DatabaseObjectInfo extends NamedObjectInfo {
|
||||
groupId?: string;
|
||||
objectId?: string;
|
||||
createDate?: string;
|
||||
modifyDate?: string;
|
||||
|
||||
Reference in New Issue
Block a user