Laravel Tip — Always Set Table Name Explicitly
Updated: 17th October 2025Tags: php laravel
I’m saving this grid in case I need it later.
.parent {
width: 100%;
display: grid;
grid-template-columns: repeat(auto-fit, 300px);
gap: 20px;
justify-content: center;
}
.child {
width: 300px;
height: 200px;
background-color: lightskyblue;
}
[postgresql only] Fix users table’ autoincrement
select setval('users_id_seq', coalesce(
(select max(id)+1 from users), 1), false)
[postgresql only] Manually set next autoincrement id of users table to 100:
setval('users_id_seq', 100)
If you changed supervisor config, or add new program to it, you need to restart it.
sudo supervisorctl stop all
sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl start "laravel-worker:*"