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

@@ -1,33 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateWebhookActionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('webhook_actions', function (Blueprint $table) {
$table->id();
$table->foreignId("webhook_id")->references("id")->on("twitch_webhooks")->onUpdate("cascade")->onDelete("cascade");
$table->string("discord_hook_url");
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('webhook_actions');
}
}