Merge remote-tracking branch 'upstream/main'

This commit is contained in:
ksobrenat32 2025-02-07 08:35:44 -06:00
commit fddd0582e8
No known key found for this signature in database
GPG Key ID: E50D86C326E47CBF
3 changed files with 9 additions and 4 deletions

View File

@ -247,7 +247,7 @@ const defaultTypesBase = {
isSized: false, isSized: false,
hasCheck: false, hasCheck: false,
hasPrecision: false, hasPrecision: false,
noDefault: true, noDefault: false,
}, },
ENUM: { ENUM: {
type: "ENUM", type: "ENUM",
@ -1399,7 +1399,7 @@ const postgresTypesBase = {
isSized: false, isSized: false,
hasPrecision: false, hasPrecision: false,
hasQuotes: true, hasQuotes: true,
noDefault: true, noDefault: false,
}, },
XML: { XML: {
type: "XML", type: "XML",

View File

@ -62,6 +62,11 @@
color: inherit; color: inherit;
} }
:disabled {
/* inherit Semi's cursor style for disabled elements */
cursor: inherit;
}
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 8px; width: 8px;
height: 8px; height: 8px;

View File

@ -10,10 +10,10 @@ export function jsonToMermaid(obj) {
return "||--||"; return "||--||";
case i18n.t(Cardinality.MANY_TO_ONE_TO_ONE): case i18n.t(Cardinality.MANY_TO_ONE_TO_ONE):
case Cardinality.MANY_TO_ONE: case Cardinality.MANY_TO_ONE:
return "||--o{"; return "}o--||";
case i18n.t(Cardinality.ONE_TO_MANY): case i18n.t(Cardinality.ONE_TO_MANY):
case Cardinality.ONE_TO_MANY: case Cardinality.ONE_TO_MANY:
return "}o--||"; return "||--o{";
default: default:
return "--"; return "--";
} }