Create migrations and models for Web Hooks

This commit is contained in:
James Brooks
2014-11-22 14:01:01 +00:00
parent 5d82f678bc
commit 69105b3828
4 changed files with 95 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
<?php
class WebHook extends Eloquent {
public function response() {
return $this->hasMany('WebHookContent', 'hook_id', 'id');
}
}