add history of changes to all entitys
This commit is contained in:
1 parent
812bb2b23a
commit
6aff5567c4
16 files changed
+174
-19
No files matched your search
@@ -53,6 +53,15 @@ class Project extends \common\models\Project
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public function behaviors()
|
||||
{
|
||||
return [
|
||||
'log' => [
|
||||
'class' => \common\behaviors\LogBehavior::class,
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
public function afterSave($insert, $changedAttributes)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user