mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-11 02:00:37 +08:00
Enable editing index names
This commit is contained in:
@@ -168,6 +168,13 @@ export function getIssues(diagram) {
|
||||
});
|
||||
|
||||
table.indices.forEach((index) => {
|
||||
if (index.name.trim() === "") {
|
||||
issues.push(
|
||||
i18n.t("empty_index_name", {
|
||||
tableName: table.name,
|
||||
}),
|
||||
);
|
||||
}
|
||||
if (index.fields.length === 0) {
|
||||
issues.push(
|
||||
i18n.t("empty_index", {
|
||||
|
||||
Reference in New Issue
Block a user