mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 10:29:11 +00:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
commit
fddd0582e8
@ -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",
|
||||
|
@ -62,6 +62,11 @@
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
:disabled {
|
||||
/* inherit Semi's cursor style for disabled elements */
|
||||
cursor: inherit;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
|
@ -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 "--";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user