mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-12 02:00:40 +08:00
Merge branch 'main' into select-db
# Conflicts: # src/i18n/locales/en.js # src/utils/exportSQL/generic.js
This commit is contained in:
@@ -99,6 +99,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