renamed cascade_type enums

This commit is contained in:
Sascha Kühl
2026-02-04 15:18:46 +01:00
parent 11bba90ded
commit 018e27a22a
3 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ struct flight {
namespace field = matador::access;
using namespace matador::utils;
field::primary_key(op, "id", id);
field::belongs_to(op, "airplane_id", plane, {utils::cascade_type::ALL, fetch_type::Eager});
field::belongs_to(op, "airplane_id", plane, {utils::cascade_type::All, fetch_type::Eager});
field::attribute(op, "pilot_name", pilot_name, 255);
}
};