mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 18:39:12 +00:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
commit
fddd0582e8
@ -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",
|
||||||
|
@ -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;
|
||||||
|
@ -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 "--";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user