updated automigrate templates, added js bindings tests and updated models IsNew behavior

This commit is contained in:
Gani Georgiev committed 2022-12-05 13:57:09 +02:00
1 parent 604009bd10
commit b8cd686b32
21 files changed
+546 -213

No files matched your search

+1 -1
View File
@@ -239,7 +239,7 @@ func (dao *Dao) create(m models.Model) error {
}
// clears the "new" model flag
m.UnmarkAsNew()
m.MarkAsNotNew()
if dao.AfterCreateFunc != nil {
dao.AfterCreateFunc(dao, m)