mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-09-20 13:30:50 +02:00
updated automigrate templates, added js bindings tests and updated models IsNew behavior
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user