Support the ongoing development of Laravel.io →

4,587 Threads

Form:model + checkbox

Hello everyone, I'm using form::model for data editing, works correct but return empty checkbox, how...

0 Likes
4 Replies

HELP! Query with join on pgsql

Hi, I want to have sql query like this: SELECT * FROM "public".user inner join ( SELE...

0 Likes
0 Replies

Eloquent Model Factory / Model Code Generator

Hey folks, There are times when heavy model customization is required, and I want to access data wit...

0 Likes
2 Replies

rendering data of a join query

i've been able to construct a join and it works: $projects = Main::join('builds', 'mains.build_id',...

0 Likes
1 Replies

Database query: nested object

Hi, I am trying to create a beautiful API. Lets assume we have 2 tables, relationship one-to-many (a...

0 Likes
2 Replies
Solved
posted 10 years ago

DB Count on group by.

I have the following query that needs to count how many occurrences there is of the events (using an...

0 Likes
3 Replies
Solved

Help with Laravel+ODBC

I was searching the internet I saw many results saying its possible, tried some of them but I'm unab...

0 Likes
0 Replies

Model Observer And Events When Create

There are two ways to create new record in laravel $model = new MyModel; $model->field1 = 'value1...

0 Likes
1 Replies
Solved

How to setup a polymorphic relationship?

Hi guys! I have a posts table and a post may have one media. It can be a video or a gallery. This is...

0 Likes
0 Replies

boolean TRUE/FALSE not saving in DB

Hi, I have a boolean column in table. I have also added that field in $fillable in modal class. When...

0 Likes
0 Replies
posted 10 years ago

Error when running migrations

I'm trying a simple migration(give below), but I get the "SQL Syntax Error or Access Violation&...

0 Likes
2 Replies
Solved

How to override the Model that morphTo will create?

Hi guys! I have a posts table having these fields id content post_type media_id postable_type The...

0 Likes
0 Replies

Migrate How to Change Column by One Setp

I want change password column length 32 to 60 Why this is not work, if (Schema::hasColumn('users', '...

0 Likes
0 Replies

Password reset token not found in User table ?

I'm creating a password reset functions as descibed in the Laravel docs. I've generated the password...

0 Likes
3 Replies
Solved

Anyone willing to help on this, JSON, Laravel issue

Save me posted everything again thought i'd share the stackoverflow post i made earlier today http:/...

0 Likes
1 Replies

Database whereHas with Wherein (Query Builder)

id item_id tag_id 244 25090 28 247 25091 28 249 25091 33 250 25092 28 251 25092 33 253...

0 Likes
1 Replies

Configuring max execution time for "artisan migrate"

I am porting an application from Kohana with loads of data from both MySQL and MongoDB. I have a bun...

0 Likes
1 Replies
Solved

Capture Model old data before committing updated data to database

Hi, We have a requirement in our application wherein we need to capture all instance of update opera...

0 Likes
1 Replies

Array on One Column (Join)

DB::table('users') ->join('contacts', 'users.id', '=', 'contacts.user_id') ->join('orders', 'u...

0 Likes
1 Replies

Laravel and phpmyadmin on shared host

Hi! I have succesfully upload my app on shared host, and everything is okay except problem with data...

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.

© 2024 Laravel.io - All rights reserved.