removed unused code

This commit is contained in:
2025-02-21 07:29:41 +01:00
parent 0eb1ae9fe8
commit d0b3ce4231
10 changed files with 141 additions and 136 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ struct job {
};
unsigned int id{};
matador::object::object_ptr<payload> payload;
matador::object::object_ptr<payload> data;
std::string type;
std::string description;
job_state state;
@@ -88,7 +88,7 @@ struct job {
void process( Operator& op ) {
namespace field = matador::access;
field::primary_key( op, "id", id );
field::belongs_to( op, "payload", payload, matador::utils::default_foreign_attributes );
field::belongs_to( op, "payload", data, matador::utils::default_foreign_attributes );
field::attribute( op, "type", type, 511 );
field::attribute( op, "description", description, 511 );
field::attribute( op, "state", state );