3076 lines
82 KiB
JSON
3076 lines
82 KiB
JSON
{
|
|
"version": 3,
|
|
"sources": [
|
|
{
|
|
"name": "default",
|
|
"kind": "postgres",
|
|
"tables": [
|
|
{
|
|
"table": {
|
|
"name": "AsyncJobStatuses",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "tenantPartner",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantPartnerId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Authorizations",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "GroupAuthorization",
|
|
"using": {
|
|
"foreign_key_constraint_on": "groupAuthorizationId"
|
|
}
|
|
},
|
|
{
|
|
"name": "Tariff",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tariffId"
|
|
}
|
|
},
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "tenantPartner",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantPartnerId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "Transactions",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "authorizationId",
|
|
"table": {
|
|
"name": "Transactions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "authorizations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "groupAuthorizationId",
|
|
"table": {
|
|
"name": "Authorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "localListAuthorizations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "authorizationId",
|
|
"table": {
|
|
"name": "LocalListAuthorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "localListAuthorizationsByGroupauthorizationid",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "groupAuthorizationId",
|
|
"table": {
|
|
"name": "LocalListAuthorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Boots",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "variableAttributes",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "bootConfigId",
|
|
"table": {
|
|
"name": "VariableAttributes",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Certificates",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "certificate",
|
|
"using": {
|
|
"foreign_key_constraint_on": "signedBy"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "certificates",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "signedBy",
|
|
"table": {
|
|
"name": "Certificates",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "installCertificateAttempts",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "certificateId",
|
|
"table": {
|
|
"name": "InstallCertificateAttempts",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "installedCertificates",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "certificateId",
|
|
"table": {
|
|
"name": "InstalledCertificates",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "ChangeConfigurations",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "ChargingNeeds",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "evse",
|
|
"using": {
|
|
"foreign_key_constraint_on": "evseId"
|
|
}
|
|
},
|
|
{
|
|
"name": "transaction",
|
|
"using": {
|
|
"foreign_key_constraint_on": "transactionDatabaseId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "ChargingProfiles",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "transaction",
|
|
"using": {
|
|
"foreign_key_constraint_on": "transactionDatabaseId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "chargingSchedules",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "chargingProfileDatabaseId",
|
|
"table": {
|
|
"name": "ChargingSchedules",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "ChargingSchedules",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "chargingProfile",
|
|
"using": {
|
|
"foreign_key_constraint_on": "chargingProfileDatabaseId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "salesTariffs",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "chargingScheduleDatabaseId",
|
|
"table": {
|
|
"name": "SalesTariffs",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "ChargingStationNetworkProfiles",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "serverNetworkProfile",
|
|
"using": {
|
|
"foreign_key_constraint_on": "websocketServerConfigId"
|
|
}
|
|
},
|
|
{
|
|
"name": "setNetworkProfile",
|
|
"using": {
|
|
"foreign_key_constraint_on": "setNetworkProfileId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "ChargingStationSecurityInfos",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "ChargingStationSequences",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "ChargingStations",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Location",
|
|
"using": {
|
|
"foreign_key_constraint_on": "locationId"
|
|
}
|
|
},
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "Connectors",
|
|
"using": {
|
|
"manual_configuration": {
|
|
"column_mapping": {
|
|
"id": "stationId"
|
|
},
|
|
"insertion_order": null,
|
|
"remote_table": {
|
|
"name": "Connectors",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Evses",
|
|
"using": {
|
|
"manual_configuration": {
|
|
"column_mapping": {
|
|
"id": "stationId"
|
|
},
|
|
"insertion_order": null,
|
|
"remote_table": {
|
|
"name": "Evses",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "LatestStatusNotifications",
|
|
"using": {
|
|
"manual_configuration": {
|
|
"column_mapping": {
|
|
"id": "stationId"
|
|
},
|
|
"insertion_order": null,
|
|
"remote_table": {
|
|
"name": "LatestStatusNotifications",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Transactions",
|
|
"using": {
|
|
"manual_configuration": {
|
|
"column_mapping": {
|
|
"id": "stationId"
|
|
},
|
|
"insertion_order": null,
|
|
"remote_table": {
|
|
"name": "Transactions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "VariableAttributes",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "stationPkId",
|
|
"table": {
|
|
"name": "VariableAttributes",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "ComponentVariables",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "component",
|
|
"using": {
|
|
"foreign_key_constraint_on": "componentId"
|
|
}
|
|
},
|
|
{
|
|
"name": "variable",
|
|
"using": {
|
|
"foreign_key_constraint_on": "variableId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Components",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "EvseType",
|
|
"using": {
|
|
"foreign_key_constraint_on": "evseDatabaseId"
|
|
}
|
|
},
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "ComponentVariables",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "componentId",
|
|
"table": {
|
|
"name": "ComponentVariables",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "EventData",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "componentId",
|
|
"table": {
|
|
"name": "EventData",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "MessageInfos",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "displayComponentId",
|
|
"table": {
|
|
"name": "MessageInfos",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "VariableAttributes",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "componentId",
|
|
"table": {
|
|
"name": "VariableAttributes",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "VariableMonitorings",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "componentId",
|
|
"table": {
|
|
"name": "VariableMonitorings",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "CompositeSchedules",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Connectors",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "ChargingStation",
|
|
"using": {
|
|
"manual_configuration": {
|
|
"column_mapping": {
|
|
"stationId": "id"
|
|
},
|
|
"insertion_order": null,
|
|
"remote_table": {
|
|
"name": "ChargingStations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Evse",
|
|
"using": {
|
|
"foreign_key_constraint_on": "evseId"
|
|
}
|
|
},
|
|
{
|
|
"name": "Tariff",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tariffId"
|
|
}
|
|
},
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "StartTransactions",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "connectorDatabaseId",
|
|
"table": {
|
|
"name": "StartTransactions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Transactions",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "connectorId",
|
|
"table": {
|
|
"name": "Transactions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "DeleteCertificateAttempts",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "EventData",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "component",
|
|
"using": {
|
|
"foreign_key_constraint_on": "componentId"
|
|
}
|
|
},
|
|
{
|
|
"name": "variable",
|
|
"using": {
|
|
"foreign_key_constraint_on": "variableId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "EvseTypes",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "components",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "evseDatabaseId",
|
|
"table": {
|
|
"name": "Components",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "reservations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "evseId",
|
|
"table": {
|
|
"name": "Reservations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "transactionEvents",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "evseId",
|
|
"table": {
|
|
"name": "TransactionEvents",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "variableAttributes",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "evseDatabaseId",
|
|
"table": {
|
|
"name": "VariableAttributes",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Evses",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "ChargingStation",
|
|
"using": {
|
|
"manual_configuration": {
|
|
"column_mapping": {
|
|
"stationId": "id"
|
|
},
|
|
"insertion_order": null,
|
|
"remote_table": {
|
|
"name": "ChargingStations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "ChargingNeeds",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "evseId",
|
|
"table": {
|
|
"name": "ChargingNeeds",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Connectors",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "evseId",
|
|
"table": {
|
|
"name": "Connectors",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Transactions",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "evseId",
|
|
"table": {
|
|
"name": "Transactions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "InstallCertificateAttempts",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "certificate",
|
|
"using": {
|
|
"foreign_key_constraint_on": "certificateId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "InstalledCertificates",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "certificate",
|
|
"using": {
|
|
"foreign_key_constraint_on": "certificateId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "LatestStatusNotifications",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "ChargingStation",
|
|
"using": {
|
|
"manual_configuration": {
|
|
"column_mapping": {
|
|
"stationId": "id"
|
|
},
|
|
"insertion_order": null,
|
|
"remote_table": {
|
|
"name": "ChargingStations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "StatusNotification",
|
|
"using": {
|
|
"foreign_key_constraint_on": "statusNotificationId"
|
|
}
|
|
},
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "LocalListAuthorizations",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "authorization",
|
|
"using": {
|
|
"foreign_key_constraint_on": "authorizationId"
|
|
}
|
|
},
|
|
{
|
|
"name": "authorizationByGroupauthorizationid",
|
|
"using": {
|
|
"foreign_key_constraint_on": "groupAuthorizationId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "localListVersionAuthorizations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "authorizationId",
|
|
"table": {
|
|
"name": "LocalListVersionAuthorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "sendLocalListAuthorizations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "authorizationId",
|
|
"table": {
|
|
"name": "SendLocalListAuthorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "LocalListVersionAuthorizations",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "localListAuthorization",
|
|
"using": {
|
|
"foreign_key_constraint_on": "authorizationId"
|
|
}
|
|
},
|
|
{
|
|
"name": "localListVersion",
|
|
"using": {
|
|
"foreign_key_constraint_on": "localListVersionId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "LocalListVersions",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "localListVersionAuthorizations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "localListVersionId",
|
|
"table": {
|
|
"name": "LocalListVersionAuthorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Locations",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "ChargingStations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "locationId",
|
|
"table": {
|
|
"name": "ChargingStations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Transactions",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "locationId",
|
|
"table": {
|
|
"name": "Transactions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "MessageInfos",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "component",
|
|
"using": {
|
|
"foreign_key_constraint_on": "displayComponentId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "MeterValues",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "stopTransaction",
|
|
"using": {
|
|
"foreign_key_constraint_on": "stopTransactionDatabaseId"
|
|
}
|
|
},
|
|
{
|
|
"name": "tariff",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tariffId"
|
|
}
|
|
},
|
|
{
|
|
"name": "transaction",
|
|
"using": {
|
|
"foreign_key_constraint_on": "transactionDatabaseId"
|
|
}
|
|
},
|
|
{
|
|
"name": "transactionEvent",
|
|
"using": {
|
|
"foreign_key_constraint_on": "transactionEventId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "OCPPMessages",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "oCPPMessage",
|
|
"using": {
|
|
"foreign_key_constraint_on": "requestMessageId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "oCPPMessages",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "requestMessageId",
|
|
"table": {
|
|
"name": "OCPPMessages",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Reservations",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "evseType",
|
|
"using": {
|
|
"foreign_key_constraint_on": "evseId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "SalesTariffs",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "chargingSchedule",
|
|
"using": {
|
|
"foreign_key_constraint_on": "chargingScheduleDatabaseId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "SecurityEvents",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "SendLocalListAuthorizations",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "localListAuthorization",
|
|
"using": {
|
|
"foreign_key_constraint_on": "authorizationId"
|
|
}
|
|
},
|
|
{
|
|
"name": "sendLocalList",
|
|
"using": {
|
|
"foreign_key_constraint_on": "sendLocalListId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "SendLocalLists",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "sendLocalListAuthorizations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "sendLocalListId",
|
|
"table": {
|
|
"name": "SendLocalListAuthorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "SequelizeMeta",
|
|
"schema": "public"
|
|
}
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "ServerNetworkProfiles",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "chargingStationNetworkProfiles",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "websocketServerConfigId",
|
|
"table": {
|
|
"name": "ChargingStationNetworkProfiles",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "setNetworkProfiles",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "websocketServerConfigId",
|
|
"table": {
|
|
"name": "SetNetworkProfiles",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "SetNetworkProfiles",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "serverNetworkProfile",
|
|
"using": {
|
|
"foreign_key_constraint_on": "websocketServerConfigId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "chargingStationNetworkProfiles",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "setNetworkProfileId",
|
|
"table": {
|
|
"name": "ChargingStationNetworkProfiles",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "StartTransactions",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "connector",
|
|
"using": {
|
|
"foreign_key_constraint_on": "connectorDatabaseId"
|
|
}
|
|
},
|
|
{
|
|
"name": "transaction",
|
|
"using": {
|
|
"foreign_key_constraint_on": "transactionDatabaseId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "StatusNotifications",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "LatestStatusNotifications",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "statusNotificationId",
|
|
"table": {
|
|
"name": "LatestStatusNotifications",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "StopTransactions",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "transaction",
|
|
"using": {
|
|
"foreign_key_constraint_on": "transactionDatabaseId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "meterValues",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "stopTransactionDatabaseId",
|
|
"table": {
|
|
"name": "MeterValues",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Subscriptions",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Tariffs",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "authorizations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tariffId",
|
|
"table": {
|
|
"name": "Authorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "connectors",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tariffId",
|
|
"table": {
|
|
"name": "Connectors",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "meterValues",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tariffId",
|
|
"table": {
|
|
"name": "MeterValues",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "transactions",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tariffId",
|
|
"table": {
|
|
"name": "Transactions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "TenantPartners",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "asyncJobStatuses",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantPartnerId",
|
|
"table": {
|
|
"name": "AsyncJobStatuses",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "authorizations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantPartnerId",
|
|
"table": {
|
|
"name": "Authorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Tenants",
|
|
"schema": "public"
|
|
},
|
|
"array_relationships": [
|
|
{
|
|
"name": "authorizations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "Authorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "boots",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "Boots",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "certificates",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "Certificates",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "changeConfigurations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "ChangeConfigurations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "chargingNeeds",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "ChargingNeeds",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "chargingProfiles",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "ChargingProfiles",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "chargingSchedules",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "ChargingSchedules",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "chargingStationNetworkProfiles",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "ChargingStationNetworkProfiles",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "chargingStationSecurityInfos",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "ChargingStationSecurityInfos",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "chargingStationSequences",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "ChargingStationSequences",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "chargingStations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "ChargingStations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "componentVariables",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "ComponentVariables",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "components",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "Components",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "compositeSchedules",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "CompositeSchedules",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "connectors",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "Connectors",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "deleteCertificateAttempts",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "DeleteCertificateAttempts",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "eventData",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "EventData",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "evseTypes",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "EvseTypes",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "evses",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "Evses",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "installCertificateAttempts",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "InstallCertificateAttempts",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "installedCertificates",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "InstalledCertificates",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "latestStatusNotifications",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "LatestStatusNotifications",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "localListAuthorizations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "LocalListAuthorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "localListVersionAuthorizations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "LocalListVersionAuthorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "localListVersions",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "LocalListVersions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "locations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "Locations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "messageInfos",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "MessageInfos",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "meterValues",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "MeterValues",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "oCPPMessages",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "OCPPMessages",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "reservations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "Reservations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "salesTariffs",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "SalesTariffs",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "securityEvents",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "SecurityEvents",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "sendLocalListAuthorizations",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "SendLocalListAuthorizations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "sendLocalLists",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "SendLocalLists",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "serverNetworkProfiles",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "ServerNetworkProfiles",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "setNetworkProfiles",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "SetNetworkProfiles",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "startTransactions",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "StartTransactions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "statusNotifications",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "StatusNotifications",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "stopTransactions",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "StopTransactions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "subscriptions",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "Subscriptions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "tariffs",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "Tariffs",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "tenantPartners",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "TenantPartners",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "transactionEvents",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "TransactionEvents",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "transactions",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "Transactions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "variableAttributes",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "VariableAttributes",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "variableCharacteristics",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "VariableCharacteristics",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "variableMonitoringStatuses",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "VariableMonitoringStatuses",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "variableMonitorings",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "VariableMonitorings",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "variableStatuses",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "VariableStatuses",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "variables",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "tenantId",
|
|
"table": {
|
|
"name": "Variables",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "TransactionEvents",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "evseType",
|
|
"using": {
|
|
"foreign_key_constraint_on": "evseId"
|
|
}
|
|
},
|
|
{
|
|
"name": "transaction",
|
|
"using": {
|
|
"foreign_key_constraint_on": "transactionDatabaseId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "meterValues",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "transactionEventId",
|
|
"table": {
|
|
"name": "MeterValues",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Transactions",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Authorization",
|
|
"using": {
|
|
"foreign_key_constraint_on": "authorizationId"
|
|
}
|
|
},
|
|
{
|
|
"name": "ChargingStation",
|
|
"using": {
|
|
"manual_configuration": {
|
|
"column_mapping": {
|
|
"stationId": "id"
|
|
},
|
|
"insertion_order": null,
|
|
"remote_table": {
|
|
"name": "ChargingStations",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Connector",
|
|
"using": {
|
|
"foreign_key_constraint_on": "connectorId"
|
|
}
|
|
},
|
|
{
|
|
"name": "Evse",
|
|
"using": {
|
|
"foreign_key_constraint_on": "evseId"
|
|
}
|
|
},
|
|
{
|
|
"name": "Location",
|
|
"using": {
|
|
"foreign_key_constraint_on": "locationId"
|
|
}
|
|
},
|
|
{
|
|
"name": "StartTransaction",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "transactionDatabaseId",
|
|
"table": {
|
|
"name": "StartTransactions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "StopTransaction",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "transactionDatabaseId",
|
|
"table": {
|
|
"name": "StopTransactions",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Tariff",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tariffId"
|
|
}
|
|
},
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "ChargingNeeds",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "transactionDatabaseId",
|
|
"table": {
|
|
"name": "ChargingNeeds",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "ChargingProfiles",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "transactionDatabaseId",
|
|
"table": {
|
|
"name": "ChargingProfiles",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "MeterValues",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "transactionDatabaseId",
|
|
"table": {
|
|
"name": "MeterValues",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "TransactionEvents",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "transactionDatabaseId",
|
|
"table": {
|
|
"name": "TransactionEvents",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "VariableAttributes",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "boot",
|
|
"using": {
|
|
"foreign_key_constraint_on": "bootConfigId"
|
|
}
|
|
},
|
|
{
|
|
"name": "chargingStation",
|
|
"using": {
|
|
"foreign_key_constraint_on": "stationPkId"
|
|
}
|
|
},
|
|
{
|
|
"name": "component",
|
|
"using": {
|
|
"foreign_key_constraint_on": "componentId"
|
|
}
|
|
},
|
|
{
|
|
"name": "evseType",
|
|
"using": {
|
|
"foreign_key_constraint_on": "evseDatabaseId"
|
|
}
|
|
},
|
|
{
|
|
"name": "variable",
|
|
"using": {
|
|
"foreign_key_constraint_on": "variableId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "variableStatuses",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "variableAttributeId",
|
|
"table": {
|
|
"name": "VariableStatuses",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "VariableCharacteristics",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "variable",
|
|
"using": {
|
|
"foreign_key_constraint_on": "variableId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "VariableMonitoringStatuses",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "variableMonitoring",
|
|
"using": {
|
|
"foreign_key_constraint_on": "variableMonitoringId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "VariableMonitorings",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "component",
|
|
"using": {
|
|
"foreign_key_constraint_on": "componentId"
|
|
}
|
|
},
|
|
{
|
|
"name": "variable",
|
|
"using": {
|
|
"foreign_key_constraint_on": "variableId"
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "variableMonitoringStatuses",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "variableMonitoringId",
|
|
"table": {
|
|
"name": "VariableMonitoringStatuses",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "VariableStatuses",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "variableAttribute",
|
|
"using": {
|
|
"foreign_key_constraint_on": "variableAttributeId"
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "Variables",
|
|
"schema": "public"
|
|
},
|
|
"object_relationships": [
|
|
{
|
|
"name": "Tenant",
|
|
"using": {
|
|
"foreign_key_constraint_on": "tenantId"
|
|
}
|
|
},
|
|
{
|
|
"name": "VariableCharacteristic",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "variableId",
|
|
"table": {
|
|
"name": "VariableCharacteristics",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"array_relationships": [
|
|
{
|
|
"name": "ComponentVariables",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "variableId",
|
|
"table": {
|
|
"name": "ComponentVariables",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "EventData",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "variableId",
|
|
"table": {
|
|
"name": "EventData",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "VariableAttributes",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "variableId",
|
|
"table": {
|
|
"name": "VariableAttributes",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "VariableMonitorings",
|
|
"using": {
|
|
"foreign_key_constraint_on": {
|
|
"column": "variableId",
|
|
"table": {
|
|
"name": "VariableMonitorings",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"select_permissions": [
|
|
{
|
|
"role": "anonymous",
|
|
"permission": {
|
|
"columns": "*",
|
|
"filter": {},
|
|
"allow_aggregations": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "geography_columns",
|
|
"schema": "public"
|
|
}
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "geometry_columns",
|
|
"schema": "public"
|
|
}
|
|
},
|
|
{
|
|
"table": {
|
|
"name": "spatial_ref_sys",
|
|
"schema": "public"
|
|
}
|
|
}
|
|
],
|
|
"configuration": {
|
|
"connection_info": {
|
|
"database_url": "postgresql://citrine:citrine@cariflex-citrineos-db:5432/citrine",
|
|
"isolation_level": "read-committed",
|
|
"use_prepared_statements": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |