Process to run sql to create the queue table in the database
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start with the SQL schema included in the issue and review how this package currently initializes or accesses its queue table. Compare the proposed Yii DB Migration and Yii Console Application approaches, then confirm the project direction before choosing one. Done means users have a documented, repeatable process that creates the queue table.
Written by the indexing model from the issue text.
Description
What steps will reproduce the problem?
There is currently no process to run the sql to create the queue table in the database
What is the expected result?
One of the following should available....
- Migration using Yii DB Migration
- Consule command using Yii Console Application
- Other suggestions welcome
Does anyone example of how this might have been done in other packages?
What do you get instead?
Nothing!
Additional info
Here is the sql that need to be run...
CREATE TABLE IF NOT EXISTS `queue` (
`id` int NOT NULL AUTO_INCREMENT,
`channel` varchar(255) NOT NULL,
`job` blob NOT NULL,
`pushed_at` int NOT NULL,
`ttr` int NOT NULL,
`delay` int NOT NULL DEFAULT '0',
`priority` int UNSIGNED NOT NULL DEFAULT '1024',
`reserved_at` int DEFAULT NULL,
`attempt` int DEFAULT NULL,
`done_at` int DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `channel` (`channel`),
KEY `reserved_at` (`reserved_at`),
KEY `priority` (`priority`)
)
| Q | A |
|---|---|
| Version | 1.0.? |
| PHP version | |
| Operating system |
- Dominant language
- PHP
- Stars
- 3
- Forks
- 4
- Avg merge
- 51m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from yiisoft/queue-db
-
Add Yii DB 2 support Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Add tests Opentype:test
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in yiisoft/queue-db
Similar issues
-
Solved site promotion gate fails on runner PHP patch drift (expects 8.2.33, runner installs 8.2.34) Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Automattic/blocks-engine#2161 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Automattic/static-site-importer#1824 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
0. Needs triage 35-feedback bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100