Support the ongoing development of Laravel.io →
ranisalt

ranisalt

Joined 10 Feb 2014

Statistics

Threads 10
Replies 18
Solutions 2
Articles 0

Route group capturing every route

I'm using creolab/laravel-modules to create an application and the administration area will be a mod...

0 Likes
0 Replies

Dynamic validation rules

I need to have some validation rules based on configuration files (those at app/config), so the rule...

0 Likes
2 Replies
Solved

Null value for deleted_at to be '0' and not 'null'

As I have asked a few times before, I'm developing a website/CMS to a game server for which I can no...

0 Likes
6 Replies
Solved

Query inside switch returns null

I have a controller with a method for when the user wants to soft-delete his record (Character model...

0 Likes
2 Replies

How to get timestamp integer instead of Carbon object

My application has to adapt to an existing database which uses integer timestamps instead of string...

0 Likes
2 Replies
Solved
replied 11 years ago
0 Likes
Solved
replied 11 years ago

Query inside switch returns null

CedNet said: In your character search you are search withTrashed() but on delete, you are doing it...

0 Likes
replied 11 years ago

Null value for deleted_at to be '0' and not 'null'

That's good code, @itsgoingd. Since the trouble is just with one model, I didn't want to extend Eloq...

0 Likes
replied 11 years ago

Null value for deleted_at to be '0' and not 'null'

trigged said: you can try rewrite you model fromDateTime method The query is not affected, it sti...

0 Likes
replied 11 years ago

how to reset model deleteat_at to ''0000-00-00 00:00:00" ?

Don't you just want to 'restore()' your record?

0 Likes

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.

© 2026 Laravel.io - All rights reserved.