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:
2021-03-11 18:48:18 +01:00
parent e8ba2a7bd1
commit bbc0a67153
8 changed files with 17 additions and 26 deletions

View File

@@ -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);
};