Skip to content

Commit

Permalink
Adding failed jobs table
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Dec 15, 2015
1 parent f31a35a commit 6f1ee91
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions database/migrations/2015_12_15_141454_create_failed_jobs_table.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateFailedJobsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('failed_jobs', function (Blueprint $table) {
$table->increments('id');
$table->text('connection');
$table->text('queue');
$table->longText('payload');
$table->timestamp('failed_at');
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('failed_jobs');
}
}

0 comments on commit 6f1ee91

Please sign in to comment.