From 27d9bac3168402a889fadd37715afb4e1ddd63ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20K=C3=BChl?= Date: Fri, 7 Feb 2025 11:45:00 +0100 Subject: [PATCH] changed pk type to unsigned int --- demo/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/demo/main.cpp b/demo/main.cpp index d0ac893..cfeddcc 100644 --- a/demo/main.cpp +++ b/demo/main.cpp @@ -18,7 +18,7 @@ #include struct author { - unsigned long id{}; + unsigned int id{}; std::string first_name; std::string last_name; std::string date_of_birth; @@ -38,7 +38,7 @@ struct author { }; struct book { - unsigned long id{}; + unsigned int id{}; matador::object::object_ptr book_author; std::string title; unsigned short published_in{}; @@ -54,7 +54,7 @@ struct book { }; struct payload { - unsigned long id{}; + unsigned int id{}; template void process( Operator& op ) { @@ -77,7 +77,7 @@ struct job { Background }; - unsigned long id{}; + unsigned int id{}; matador::object::object_ptr payload; std::string type; std::string description;