Skip to content

Commit 1039eab

Browse files
momobelweiznich
authored andcommitted
Replace sql_function with define_sql_function
1 parent 58bcc91 commit 1039eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ async fn setup(connection: &mut TestConnection) {
137137
}
138138

139139
#[cfg(feature = "postgres")]
140-
diesel::sql_function!(fn pg_sleep(interval: diesel::sql_types::Double));
140+
diesel::define_sql_function!(fn pg_sleep(interval: diesel::sql_types::Double));
141141

142142
#[cfg(feature = "postgres")]
143143
#[tokio::test]

0 commit comments

Comments
 (0)