removed unused code
This commit is contained in:
+2
-2
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user