You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Piedone
changed the title
Can we use default site DatabaseConnectionString for auto setup
Ability to use the DB connection settings of the Default tenant in Auto Setup
Mar 10, 2025
How do you imagine this working? If the DB settings are empty for a tenant, then it'll use the Default's? BTW it's not just about the connection string: DatabaseProvider and DatabaseConnectionString both need to be taken into account. And in such a case DatabaseTablePrefix will need to be provided.
1-- aim: suppose you have 1000tenants while auto setup, do not need repeat DatabaseConnectionString
2-- not necessary as you said i guess , just if DatabaseConnectionString is empty, find a default (or general or top) DatabaseConnectionString
1000 tenants configured with Auto Setup is probably a bit of a stretch :). But this can be useful with a couple ones too, though not necessarily with SQLite.
Is your feature request related to a problem?
Describe the solution you'd like
when there is no DatabaseConnectionString for specific tenant , check and use default site DatabaseConnectionString
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: