mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-01-20 15:46:30 +00:00
No longer Axum-based because filling out the request routes would have distracted from the purpose of the example.
12 lines
352 B
TOML
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"
|