renamed in Models: map_fields() to fields(), prepare_table() to table()
This commit is contained in:
@@ -59,15 +59,15 @@ public:
|
||||
}
|
||||
|
||||
|
||||
void map_fields()
|
||||
void fields()
|
||||
{
|
||||
field(L"id", id, morm::FT::no_insertable | morm::FT::no_updatable | morm::FT::primary_key);
|
||||
field(L"name", name);
|
||||
}
|
||||
|
||||
void prepare_table()
|
||||
void table()
|
||||
{
|
||||
table(L"core", L"group");
|
||||
table_name(L"core", L"group");
|
||||
}
|
||||
|
||||
void after_insert()
|
||||
|
||||
Reference in New Issue
Block a user