Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mark-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cylab
mark-web
Commits
1c1f2dad
Commit
1c1f2dad
authored
4 years ago
by
Alex
Browse files
Options
Downloads
Patches
Plain Diff
Add database queue driver
parent
d778c7a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
Include Wowa Training
Pipeline
#5277
passed
4 years ago
Stage: test
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
database/migrations/2021_02_10_114626_create_jobs_table.php
+36
-0
36 additions, 0 deletions
database/migrations/2021_02_10_114626_create_jobs_table.php
env.docker
+1
-1
1 addition, 1 deletion
env.docker
with
37 additions
and
1 deletion
database/migrations/2021_02_10_114626_create_jobs_table.php
0 → 100644
+
36
−
0
View file @
1c1f2dad
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
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'
);
}
}
This diff is collapsed.
Click to expand it.
env.docker
+
1
−
1
View file @
1c1f2dad
...
...
@@ -17,7 +17,7 @@ DB_CONNECTION=sqlite
BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=
sync
QUEUE_CONNECTION=
database
SESSION_DRIVER=file
SESSION_LIFETIME=120
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment