Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2484991
2019_09_24_082203_create_failed_jobs_table.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
805 B
Referenced Files
None
Subscribers
None
2019_09_24_082203_create_failed_jobs_table.php
View Options
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
// phpcs:ignore
class
CreateFailedJobsTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'failed_jobs'
,
function
(
Blueprint
$table
)
{
$table
->
bigIncrements
(
'id'
);
$table
->
text
(
'connection'
);
$table
->
text
(
'queue'
);
$table
->
longText
(
'payload'
);
$table
->
longText
(
'exception'
);
$table
->
timestamp
(
'failed_at'
)->
useCurrent
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'failed_jobs'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Nov 20, 5:18 PM (16 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
387234
Default Alt Text
2019_09_24_082203_create_failed_jobs_table.php (805 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment