mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 16:23:09 -06:00
- Update YAML file to use file: everywhere except for Accounts - Use the CosmosDB conn string in the YAML - Add cosmosdbapi package to wrap the external package - Add Tenant.go to store the tenancy settings - to be removed when tenancy is implemented - Update the 5 tables to use the internal CosmosDBAPI package instead of SQL - Remove sql from storage.go and other files
15 lines
243 B
Go
15 lines
243 B
Go
package cosmosdbapi
|
|
|
|
type Tenant struct {
|
|
DatabaseName string
|
|
TenantName string
|
|
}
|
|
|
|
//TODO: Move into Config or the JWT
|
|
func DefaultConfig() Tenant {
|
|
return Tenant{
|
|
DatabaseName: "safezone_local",
|
|
TenantName: "criticalarc.com",
|
|
}
|
|
}
|