diff --git a/app-todo-axum/src/main.rs b/app-todo-axum/src/main.rs index 28a36dd..fc93523 100644 --- a/app-todo-axum/src/main.rs +++ b/app-todo-axum/src/main.rs @@ -28,7 +28,7 @@ async fn main() { let _ = conn .execute( - "CREATE TABLE IF NOT EXISTS todos(task varchar non null)", + "CREATE TABLE IF NOT EXISTS todos(task varchar not null)", (), ) .await;