mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-11-27 20:07:18 +00:00
No longer Axum-based because filling out the request routes would have distracted from the purpose of the example.
11 lines
273 B
TOML
11 lines
273 B
TOML
[migrate]
|
|
create-schemas = ["payments"]
|
|
table-name = "payments._sqlx_migrations"
|
|
|
|
[macros.table-overrides.'payments.payment']
|
|
'payment_id' = "crate::PaymentId"
|
|
'account_id' = "accounts::AccountId"
|
|
|
|
[macros.type-overrides]
|
|
'payments.payment_status' = "crate::PaymentStatus"
|