Comments (7)
I've the same problem with default Laravel 5.3 migration
Just add the column to the table and it's fixed:
$table->tinyInteger('reserved')->unsigned();
from laravel-async-queue.
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'reserved' in 'field list' (SQL: insert into `jobs` (`queue`, `payload`, `attempts`, `reserved`, `reserved_at`, `available_at`, `created_at`) values (default, {"job":"Illuminate\\Queue\\CallQueuedHandler@call","data":{"commandName":"Illuminate\\Mail\\SendQueuedMailable","command":"O:34:\"Illuminate\\Mail\\SendQueuedMailable\":1:{s:11:\"\u0000*\u0000mailable\";O:33:\"App\\Mail\\EmailVerificationRequest\":17:{s:4:\"user\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":2:{s:5:\"class\";s:8:\"App\\User\";s:2:\"id\";i:38;}s:5:\"token\";i:0;s:7:\"\u0000*\u0000from\";a:0:{}s:5:\"\u0000*\u0000to\";a:1:{i:0;a:2:{s:7:\"address\";s:25:\"[email protected]\";s:4:\"name\";N;}}s:5:\"\u0000*\u0000cc\";a:0:{}s:6:\"\u0000*\u0000bcc\";a:0:{}s:10:\"\u0000*\u0000replyTo\";a:0:{}s:10:\"\u0000*\u0000subject\";N;s:7:\"\u0000*\u0000view\";N;s:11:\"\u0000*\u0000textView\";N;s:11:\"\u0000*\u0000viewData\";a:0:{}s:14:\"\u0000*\u0000attachments\";a:0:{}s:17:\"\u0000*\u0000rawAttachments\";a:0:{}s:12:\"\u0000*\u0000callbacks\";a:0:{}s:10:\"connection\";N;s:5:\"queue\";N;s:5:\"delay\";N;}}"}}, 0, 1, 1481639050, 1481639050, 1481639050))
I've the same problem with default Laravel 5.3 migration
from laravel-async-queue.
@etwasch thx for your snippet, but it's only a workaround.
The problem should be fixed in the package, since the framework and package does not use this field any more, it should be removed from the query.
from laravel-async-queue.
@TUNER88 wouldn't this break backwards compatibility?
from laravel-async-queue.
@etwasch looks like it already incompatible with older framework versions, since the is no field named reserved_at
.
The reserved field was transformed form boolean
to timestamp
field in Laravel 5.3.
You are totally right, applications based on older framework versions could use an older version of this package.
from laravel-async-queue.
We should just use the Laravel migrations instead of our own.
from laravel-async-queue.
Hi, readme says for Laravel 5.3 use the 0.5 branch, but still the problem exists.
Should I stick with Laravel migrations solution, as proposed by @barryvdh ?
from laravel-async-queue.
Related Issues (20)
- Issues with Process class and fromShellCommandline method in Laravel 8
- Notify when Queue ends
- Doesn't work with Laravel 5.6? HOT 2
- Laravel Horizon support? HOT 1
- Please support laravel 5.6.* HOT 2
- symfony/process 4+ error HOT 1
- Documentation HOT 1
- Laravel 5.7 support?
- Jobs freeze
- Prevent to exec a job before finish other
- cron jobed async queue is not working
- Errro Unknown error while connecting
- Laravel 5.8 issue
- Start Process is not compatible with symfony/process 5x
- How can I retry failed jobs?
- Laravel 7 / Synpony 5
- Alternative to the later method
- Suggestion to resolve queue conflict
- Dead lock HOT 1
- Doesn't make a lot of sense HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-async-queue.