Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openApi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hj
openApi
Commits
23d52f37
Commit
23d52f37
authored
Sep 19, 2022
by
hangjun83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
药明康德
parent
4eaeb6b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
server/database/migrations/2022_09_19_020141_create_failed_jobs_table.php
...migrations/2022_09_19_020141_create_failed_jobs_table.php
+36
-0
No files found.
server/database/migrations/2022_09_19_020141_create_failed_jobs_table.php
0 → 100644
View file @
23d52f37
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateFailedJobsTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'failed_jobs'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
string
(
'uuid'
)
->
unique
();
$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'
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment