mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-03 15:55:45 +00:00
fix(sqlite, test): column overrides still have runtime type checking, use the correct Rust type to match the sql type
This commit is contained in:
parent
991c0ba155
commit
7beceba832
@ -100,7 +100,7 @@ async fn test_column_override_nullable() -> anyhow::Result<()> {
|
|||||||
|
|
||||||
#[derive(PartialEq, Eq, Debug, sqlx::Type)]
|
#[derive(PartialEq, Eq, Debug, sqlx::Type)]
|
||||||
#[sqlx(transparent)]
|
#[sqlx(transparent)]
|
||||||
struct MyInt(i32);
|
struct MyInt(i64);
|
||||||
|
|
||||||
#[sqlx_macros::test]
|
#[sqlx_macros::test]
|
||||||
async fn test_column_override_wildcard() -> anyhow::Result<()> {
|
async fn test_column_override_wildcard() -> anyhow::Result<()> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user