Page MenuHomePhorge

2019_09_17_105606_create_jobs_table.php
No OneTemporary

Authored By
Unknown
Size
860 B
Referenced Files
None
Subscribers
None

2019_09_17_105606_create_jobs_table.php

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateJobsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('jobs', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('queue')->index();
$table->longText('payload');
$table->unsignedTinyInteger('attempts');
$table->unsignedInteger('reserved_at')->nullable();
$table->unsignedInteger('available_at');
$table->unsignedInteger('created_at');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('jobs');
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Apr 24, 10:04 AM (5 d, 3 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
29/e0/4ffd6558d9482ee6616e4892a212
Default Alt Text
2019_09_17_105606_create_jobs_table.php (860 B)

Event Timeline