- improved map export, removed unnecessary JSON data
- fixed bug where "updated" table column is not set on insert
This commit is contained in:
@@ -411,6 +411,9 @@ abstract class BasicModel extends \DB\Cortex {
|
||||
* return false will stop any further action
|
||||
*/
|
||||
public function beforeInsertEvent(){
|
||||
if($this->exists('updated')){
|
||||
$this->touch('updated');
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user