added support for new morm api
- field(...) methods from Model take now FT structure instead of insertable/updatable/primary_key boolean flags - table name is set in a prepare_table() method now - added meta and admin_meta from ItemContent (morm has a field() method with PT::Space argument now)
This commit is contained in:
@@ -213,7 +213,7 @@ public:
|
||||
ItemContent();
|
||||
|
||||
void map_fields();
|
||||
void table_name(PT::TextStream & stream);
|
||||
void prepare_table();
|
||||
void after_insert();
|
||||
|
||||
|
||||
@@ -231,9 +231,6 @@ public:
|
||||
|
||||
|
||||
|
||||
// IMPROVEME move me to morm
|
||||
using morm::Model::field;
|
||||
void field(const wchar_t * db_field_name, PT::Space & space);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user