Open HuakunShen opened 8 months ago
model User { id BigInt @id @default(autoincrement()) name String }
let client: PrismaClient = PrismaClient::_builder() .with_url("file:xc-dev.sqlite".to_string()) .build() .await .unwrap(); client._db_push().await.unwrap(); client.user_().create("name".to_string(), vec![]).exec().await.unwrap();
This will fail. But if I change the BigInt to Int, it works.
BigInt
Int
This will fail. But if I change the
BigInt
toInt
, it works.