renamed in Models: map_fields() to fields(), prepare_table() to table()

This commit is contained in:
tomasz.sowa committed 2021-05-13 03:29:41 +02:00
1 parent e64bd1fba8
commit ee354d2ded
7 files changed
+22 -23

No files matched your search

+6 -6
View File
@@ -54,18 +54,18 @@ class CalcItemsHelper : public morm::Model
public:
long size;
long item_id;
void map_fields()
void fields()
{
field(L"size", size);
field(L"item_id", item_id);
}
void prepare_table()
void table()
{
table(L"core", L"item");
table_name(L"core", L"item");
}
};
@@ -146,8 +146,8 @@ public:
Item();
void map_fields();
void prepare_table();
void fields();
void table();
void before_insert();
void after_insert();