-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend provided SQLx SessionStore
implementations to allow for more configurability
#1
Comments
Thanks for mentioning this. I would be happy to accept changes to better enable configurability around this. |
Would |
I'm fine with either approach: it's okay to make breaking changes for a better API. 😁 |
You arguably don't need a I quickly ripped out
|
You don't need to copy the crate to do this, you can instead implement |
SessionStore
implementations to allow for more configurability
@czocher I think this also relates your recent PR addressing the Postgres store. |
@maxcountryman it does indeed relate. We can possibly remove the schema setting completely and (as @Hellrespawn mentioned) rely on sqlx to select the schema name with the |
Right now the
schema_name
for the SQLX stores is hardcoded to be"tower_sessions"
, ignoring the database specified in the database URL.My current Docker setup creates a user with access to only one database. It would be useful to to be able to have it use that specific database.
The text was updated successfully, but these errors were encountered: