1
0

Delete old webhook action, not used anymore

This commit is contained in:
2020-05-19 13:46:47 +02:00
parent 04964b9a5d
commit 2720ba0b46
3 changed files with 0 additions and 65 deletions

View File

@@ -28,13 +28,6 @@ class TwitchWebhook extends Model
return $this->belongsTo("App\User");
}
/**
* Get webhook action
*/
public function webhookActions() {
return $this->hasMany("App\WebhookAction", "webhook_id");
}
// event handlers
/**

View File

@@ -1,25 +0,0 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class WebhookAction extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
"discord_hook_url"
];
/**
* Get the twitch webhook that executes this action.
*/
public function twitchWebhook() {
return $this->belongsTo("App\TwitchWebhook", "webhook_id");
}
}