mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Support comments on table indexes via table designer. Closes #128
This commit is contained in:
@@ -1797,6 +1797,7 @@ begin
|
||||
CellText := TblKey.Name;
|
||||
1: CellText := TblKey.IndexType;
|
||||
2: CellText := TblKey.Algorithm;
|
||||
3: CellText := TblKey.Comment;
|
||||
end;
|
||||
end;
|
||||
1: begin
|
||||
@@ -2100,6 +2101,7 @@ begin
|
||||
TblKey.Name := TTableKey.PRIMARY;
|
||||
end;
|
||||
2: TblKey.Algorithm := NewText;
|
||||
3: TblKey.Comment := NewText;
|
||||
end;
|
||||
// Needs to be called manually for Name and IndexType properties:
|
||||
TblKey.Modification(Sender);
|
||||
|
||||
Reference in New Issue
Block a user