Support the ongoing development of Laravel.io →

4,606 Threads

posted 10 years ago

Numbers of migration files in one folder

Hi! Lets say I have a user-table and create migrations files, eg '2014_05_09_223908_create_users_tab...

0 Likes
3 Replies
Solved

MysqlBuilder::DropColumn() not found on migration rollback

Well basically that, when trying to rollback my last migration artisan throws the following error: P...

0 Likes
2 Replies

Using a relationship SUM in a where statement.

Hi there, Struggling to get my head around this one, I am trying to get the SUM if a relationships c...

0 Likes
1 Replies

Complete Users table to adapt to the last changes in the User Model from Laravel

Seeing the latest changes of the User Model and User Authentication in the latest versions of Larave...

0 Likes
1 Replies
Solved

Creating a Relationship with a User, Ribbon and adding additional information

Hi All, I am trying to create a relationship between a used by many Ribbon and a User however I want...

0 Likes
3 Replies

Laravel inserting into a three-way pivot table

##Summary## I am building a music discovery service. My question is: How do I insert data into the t...

0 Likes
1 Replies

Form error on submit (update)

I am a Laravel newbie and trying to figure out basic updating. It loads the form data but every tim...

0 Likes
3 Replies
Solved

Newb looking for quick quick database to model generation

I am pretty new to Laravel, and I am just looking for the best way to get started and learn things w...

0 Likes
0 Replies

How could I access to one related User Profile model with Auth::User() method

Dear friends, I'm using one PROFILE model related with the USER Model. When I authenticated one user...

0 Likes
2 Replies
Solved

Trying to get data from a many-to-many relationship

Hello! I have a many-to-many relationship with decks and cards, something like this: http://laravel....

0 Likes
4 Replies

Passing data to a view in the right way

Hi everybody. I'm new to Laravel and this is the first framework I use, I'm loving it so far. I have...

0 Likes
3 Replies
Solved

What to test in a database interaction and how to test an interaction with an existing database?

Hello! I'm starting a new application to interact with an existing database. I'm building a new back...

0 Likes
3 Replies
posted 10 years ago

Changing mysql tables

Hey, i am making a website that i want to sell, and it's a website for a game, and the buyers might...

0 Likes
3 Replies

Global variable/singleton available to all models/repositorys?

Hi, I need to be able to access the $site_id in most parts of my application as content will differ...

0 Likes
1 Replies

Custom Model Methods

Hi, I'm new to Eloquent & Laravel. I'm following the line of thinking of using Eloquent models f...

0 Likes
2 Replies

Creating a Model without Table

Hi, I would like to implement a Model without a table in Laravel. But, I could not find a help/ refe...

0 Likes
1 Replies

Lavel US States Seeder

Is there a script to generate seeds for the US States?

0 Likes
7 Replies
Solved

Ignore duplicate record on insert

Hello all, Is there way to ignore duplicates records on insert. My Code Currently: // Convert json d...

0 Likes
1 Replies
Solved

Sending an email with database results

I need to query the database and send an email using the results from the database. I'm not entirely...

0 Likes
2 Replies
Solved
posted 10 years ago

I can implement this transaction with laravel

Hello friends, as I can implement this transaction with laravel BEGIN; SELECT id FROM turns WHERE es...

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.