Support the ongoing development of Laravel.io →

4,597 Threads

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
posted 10 years ago

Trouble Altering a columns Data Type

Hi! I'm trying to run a migration that will alter some of my tables to correct the data type of some...

0 Likes
1 Replies
Solved

getting id from a join

i have this join statement : Item::join('buttons', 'items.cta_id','=','buttons.id')->where('build...

0 Likes
2 Replies
Solved

Getting Call to undefined method, while pulling records from a model.

I must be missing something obvious here... I have a model called PlanType and another called Pricin...

0 Likes
2 Replies
Solved
posted 10 years ago

Getting this kind of chars from database query �� SQL Server

Hello all! I'm getting ���� instead of accented chars like ç, ã, é... from a sqlsrv PDO connection.....

0 Likes
1 Replies
Solved
posted 10 years ago

DB Value retrive

Retrieved value from the MySQL database using @foreach($entity as $key => $value) {{ $val...

0 Likes
1 Replies

Baum Nested Set Retrieve all tree with relation

Hi, I have Category model based on Baum Nested Set (https://github.com/etrepat/baum) package and Cat...

0 Likes
2 Replies
Solved

Passing hundreds of variables from controller to view

Here is my controller: public function stats() { $title = "Stats"; $stats = DB...

0 Likes
4 Replies

google plus share - curly brackets

I need to render a google plus share link in my project. I have the url data in my database and call...

0 Likes
2 Replies
Solved

From Model Binding with one to many relation

Hello! I've got a problem with a form which should be populated with values from my database. My dat...

0 Likes
2 Replies

< select name="options" multiple > How to store in a array within the database

How would I store <option > 's in a mulitple select like so <select name="options" multiple...

0 Likes
0 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.