table editor WIP

This commit is contained in:
Jan Prochazka
2021-06-10 10:51:30 +02:00
parent 9959e61b35
commit 7847eaa64d
8 changed files with 135 additions and 83 deletions

View File

@@ -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;