Support the ongoing development of Laravel.io →

4,587 Threads

migrate error

Hello, I have started my first Laravel 7 project. If I want to start a database with it I get an err...

1anto liked this thread

1 Likes
2 Replies

laraval migrate another migration , rather that the last one

Hi . I just create a migration to add a column to my "cvs" table , but when I run migrate...

0 Likes
1 Replies

Non-static method should not be called statically for scopes

I have a model with those methods: public function waiting() { return ! is_null($thi...

0 Likes
2 Replies
posted 4 years ago

php artisan migrate:fresh command with multiple connections

I have tow database connections, `'mysql' => [ // connection information ],...

0 Likes
1 Replies

How to create a secondary connection to another DB

Hi there . I have two databases 192.168.1.82 (Master) and 192.168.1.83 (Slave) how can I configure l...

0 Likes
0 Replies

Trying to build web app for daily costs for members in work

I am trying to build web app with laravel that help me to save daily costs and the total for every m...

0 Likes
1 Replies

How to access database connected via PHPStorm tools

Hello, I connected to my database in PHPStorm (in Data Source and Drivers using General and SSH/SSL...

rasyidcode liked this thread

1 Likes
0 Replies

Cannot Store Form

Can Someone Help Me with This https://stackoverflow.com/questions/60236757/cannot-save-data PLease H...

0 Likes
0 Replies

How do I copy and its many children efficiently in laravel

I need to copy a multi parent and its children and its children's children. I don't want to do a for...

0 Likes
0 Replies

Eloquent relation count problems

Hi, I'm currently having the following problem that $eloquentEntity->relation->count() and $el...

0 Likes
1 Replies
Solved
posted 4 years ago

php artisan migrate - No connection could be made

Hello. I'm learning Laravel using Homestead. I'm following the "Laravel 6 From Scratch" vi...

0 Likes
3 Replies
Solved

Laravel 6 - Dinamically set DB Connection on model - problem

Hello, On my project, every user has his/her own database, so, to mass assign forms I need to set th...

0 Likes
0 Replies

Problem with laravel relations and latest, paginate

hi everyone, im have some relations in my DB and heres the relatin i'm working with: $category = Cat...

0 Likes
0 Replies

Sql Server Date format issue

Hello, First of all I'd like to say that I have no other choice but using SQL Server ( and IIS as we...

0 Likes
6 Replies
Solved

Model versioning

Hey everyone, I have a question. How do you handle versioning and breaking changes (Especially datab...

0 Likes
0 Replies

Laravel Query

Hi Guys I have three tables in my database customer, sales, payment . A customer can have many Sales...

0 Likes
0 Replies

Eloquent Has with multiple databases

I'm experiencing trouble with a relationship (5.7). I do have data separated in two databases, which...

0 Likes
0 Replies

Two table authentication

Two table authentication using passport for customer api and admin api

0 Likes
0 Replies

An intelligent alternative of Laravel Database Migrations

Hi I'd like to introduce an intelligent alternative version of Laravel 5/6 Database Migrations Featu...

0 Likes
0 Replies

hasOneThrough on one table

Hello, I'm trying to set up a hasOneThrough relation on one table. But Eloquent will not look it the...

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.