start adding support for Models objects from Ezc
This commit is contained in:
@@ -63,7 +63,9 @@ void Item::fields()
|
||||
field(L"subject", subject);
|
||||
field(L"template", html_template);
|
||||
field(L"sort_index", sort_index);
|
||||
field(L"content_id", item_content, morm::FT::foreign_key);
|
||||
field(L"content_id", L"content", item_content, morm::FT::foreign_key);
|
||||
|
||||
//field(L"my_test_function", my_test_function);
|
||||
|
||||
// may we should add a method setTypeFromInt(int t)?
|
||||
type = static_cast<Type>(type_helper);
|
||||
|
||||
Reference in New Issue
Block a user