changed pk type to unsigned int

This commit is contained in:
Sascha Kühl 2025-02-07 11:45:00 +01:00
parent c591302063
commit 27d9bac316
1 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
#include <string>
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<author> book_author;
std::string title;
unsigned short published_in{};
@ -54,7 +54,7 @@ struct book {
};
struct payload {
unsigned long id{};
unsigned int id{};
template<typename Operator>
void process( Operator& op ) {
@ -77,7 +77,7 @@ struct job {
Background
};
unsigned long id{};
unsigned int id{};
matador::object::object_ptr<payload> payload;
std::string type;
std::string description;