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,
hasCheck: false,
hasPrecision: false,
noDefault: true,
noDefault: false,
},
ENUM: {
type: "ENUM",
@ -1399,7 +1399,7 @@ const postgresTypesBase = {
isSized: false,
hasPrecision: false,
hasQuotes: true,
noDefault: true,
noDefault: false,
},
XML: {
type: "XML",

View File

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

View File

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