1 2 3 4 5 6 7 8 9 10 11 12
use drizzle::postgres::prelude::*; // The error names `deferrable`; it used to talk about on_update. #[PostgresTable] struct Posts { #[column(primary)] id: i32, #[column(deferrable)] user_id: i32, } fn main() {}