mirror of
https://github.com/espocrm/espocrm.git
synced 2026-07-01 00:16:07 +00:00
57 lines
2.2 KiB
JSON
57 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://www.espocrm.com/schema/metadata/app/databasePlatforms.json",
|
|
"title": "app/databasePlatforms",
|
|
"description": "Database platform definitions.",
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"description": "A platform name.",
|
|
"properties": {
|
|
"dbalConnectionFactoryClass": {
|
|
"type": "string",
|
|
"description": "Should implementEspo\\Core\\Utils\\Database\\Dbal\\ConnectionFactory"
|
|
},
|
|
"detailsProviderClassName": {
|
|
"type": "string",
|
|
"description": "Should implement Espo\\Core\\Utils\\Database\\Dbal\\DetailsProvider."
|
|
},
|
|
"dbalTypeClassNameMap": {
|
|
"type": "object",
|
|
"description": "Custom database types.",
|
|
"additionalProperties": {
|
|
"type": "string",
|
|
"description": "A database type. Should extend Doctrine\\DBAL\\Types\\Type."
|
|
}
|
|
},
|
|
"indexHelperClassName": {
|
|
"type": "string",
|
|
"description": "Should implement Espo\\Core\\Utils\\Database\\Orm\\IndexHelper."
|
|
},
|
|
"columnPreparatorClassName": {
|
|
"type": "string",
|
|
"description": "Should implement Espo\\Core\\Utils\\Database\\Schema\\ColumnPreparator."
|
|
},
|
|
"preRebuildActionClassNameList": {
|
|
"type": "array",
|
|
"description": "Pre-rebuild actions. Should implement Espo\\Core\\Utils\\Database\\Schema\\RebuildAction.",
|
|
"items": {
|
|
"anyOf": [
|
|
{"enum": ["__APPEND__"]},
|
|
{"type": "string"}
|
|
]
|
|
}
|
|
},
|
|
"postRebuildActionClassNameList": {
|
|
"type": "array",
|
|
"description": "Post-rebuild actions. Should implement Espo\\Core\\Utils\\Database\\Schema\\RebuildAction.",
|
|
"items": {
|
|
"anyOf": [
|
|
{"enum": ["__APPEND__"]},
|
|
{"type": "string"}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|