{"push_id":2636014394,"size":2,"distinct_size":1,"ref":"refs/heads/master","head":"766201211f253f69cd365068b5885649d793895e","before":"fbd751e2f1111772700bae725e80dc77ffc1b765","commits":[{"sha":"05aebb5b5e477304a68a26a8e23b67912684e26a","author":{"name":"N1cE™","email":"057ee9d40bea7a201d133e3e34063f87500d4f12@yandex.ru"},"message":"Multi DB integration\n\nAdd cross DB integration (for example counter in Mongo DB and hits table in mysql) or same.\r\nNeed just add 'db' => Yii::$app->db to the hit params inside behaviors.\r\nFull example:\r\n    public function behaviors()\r\n    {\r\n        return [\r\n            'hit' => [\r\n                'class' => HitableBehavior::className(),\r\n                'attribute' => 'views',    //attribute which should contain uniquie hits value\r\n                'group' => false,               //group name of the model (class name by default)\r\n                'delay' => 60 * 60,             //register the same visitor every hour\r\n                'db' => Yii::$app->db,          //cross DB connection (optional)\r\n                'table_name' => '{{%hits}}'     //table with hits data\r\n            ]\r\n        ];\r\n    }","distinct":false,"url":"https://api.github.com/repos/N1cE-tm/yii2-hitable-behavior/commits/05aebb5b5e477304a68a26a8e23b67912684e26a"},{"sha":"766201211f253f69cd365068b5885649d793895e","author":{"name":"N1cE™","email":"057ee9d40bea7a201d133e3e34063f87500d4f12@yandex.ru"},"message":"Merge pull request #1 from N1cE-tm/N1cE-tm-mutiDB\n\nMulti DB integration","distinct":true,"url":"https://api.github.com/repos/N1cE-tm/yii2-hitable-behavior/commits/766201211f253f69cd365068b5885649d793895e"}]}
{"actor":{"display_login":"N1cE-tm"}}