Support the ongoing development of Laravel.io →

4,606 Threads

created_at and updated_at timestamp value differ from each other

The two timestamps have different values regarding of timezone config. After inserting and loging in...

0 Likes
1 Replies
Solved

Database not created when migrating

My tables are not created when I do my migration. Error cannot redeclare class MigrationCreateUsers...

0 Likes
2 Replies

Query to join tables and produce a list

This sounds like it should be a pretty simple thing to do but I'm trying to wrap my brain around it...

0 Likes
0 Replies

Difference between SELECT on db-table and db-view on webhosting, error 1615

On webhosting in MySQL I have created in database set of db-tables and couple of db-views. Everythin...

0 Likes
0 Replies

Populating Database - one to many relationship

I have a one-to-many relationship that is not working. A 'Client' has many 'Athletes'. I have alread...

0 Likes
3 Replies

Query Builder vs Eloquent AND Forms

Hi, Even though I have experience with PHP, I am new to Laravel. I've got two questions to ask to un...

0 Likes
1 Replies
Solved

Laravel connect to IBM db2

All, I just started using laravel and want to connect to an existing ibm db2 database with uppercase...

0 Likes
4 Replies

I need help expanding my query with DB

So I'm checking to see that a "tag" has expired 7 days ago. But I also want to make sure t...

0 Likes
1 Replies
posted 9 years ago

Eloquent and MySQL transactions interfering with a simple chat system?

Hey folks, I've built a very simple chat style interface around the system proposed here: http://tut...

0 Likes
0 Replies

Laravel 5.1 Manual Pagination not working as expected

I am having issues when creating my own paginator that the same collection of rows is always returns...

0 Likes
4 Replies

Changing dateformat on select

HI I have a DATE mysql column and i wish to change the stored format from YYYY-MM-DD to dd-mm-yyyy w...

0 Likes
0 Replies

L4 > L5 Upgrade Issue with Cipher & App Key

I have an existing L4 site and we have been working to move to L5. We have several encrypted columns...

0 Likes
0 Replies

Get date from timestamp in laravel

How can I get date from "2015-07-31 06:03:21" using Laravel query builder? In normal query...

0 Likes
2 Replies

Issue with schedule:run

I have a hard to crack issue with schedule:run. When I call schedule:run from the console, my closur...

0 Likes
0 Replies

Laravel Eloquent method

I have three tables #customer: id - integer name - string #address: id - integer customer_id (relat...

0 Likes
4 Replies

best way to migrate already exist mysql database

hello, nice to start and migrate code from code-igniter to Laravel 5.1 but how I can find the best w...

0 Likes
2 Replies
Solved

Mysql: Select rows from a table that are not in another

How to convert to laravel format SELECT username, firstname FROM users WHERE id NOT IN ( SELECT use...

0 Likes
2 Replies

Updating related tables

I'm having issues updating related tables. When displaying the form all data is correct (including r...

0 Likes
0 Replies

Error Catching

Hey All, I was wondering if someone might be able to point me in the right direction on how to catch...

0 Likes
1 Replies
Solved
posted 9 years ago

what's wrong , its my mistake about use Transaction?

\DB::beginTransaction(); try { //...logic.... } catch (\Exception $e)...

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.