Austin Bonander 46878e8c0b feat: multi-tenant example
No longer Axum-based because filling out the request routes would have distracted from the purpose of the example.
2025-02-27 16:20:09 -08:00

12 lines
352 B
TOML

[migrate]
create-schemas = ["accounts"]
table-name = "accounts._sqlx_migrations"
[macros.table-overrides.'accounts.account']
'account_id' = "crate::AccountId"
'password_hash' = "sqlx::types::Text<password_hash::PasswordHashString>"
[macros.table-overrides.'accounts.session']
'session_token' = "crate::SessionToken"
'account_id' = "crate::AccountId"