Support the ongoing development of Laravel.io →

3,578 Threads

How can I set a custom schema in the SQL Server?

In the database settings in Laravel, we can choose a custom schema for the PostgreSQL database by sp...

0 Likes 0 Replies
posted 6 months ago

How to do a Postgres connection through unix domain socket

Since my postgres instance is on the same machine, I'd like to connect with unix domain sockets inst...

0 Likes 2 Replies

how to store update multi line file upload

public function UpdateAbout(Request $request){ $about_id = $request->id; $blogabouttun =...

0 Likes 1 Replies

Upload images not showing how i see images ?

i upload images and listing the images but not showing

0 Likes 1 Replies

Seeded users can't log in on Laravel or be found on Tinker

I'm working on a seeder that creates 3 users, one per each role I have on my app. When I run the see...

0 Likes 3 Replies

Laravel Eloquent , Pivot Table

Hello, i work on project about customer manager with an API. So, I have 4 Tables on my database : Ci...

0 Likes 1 Replies

Database design for driving school

I came up with a database design that I find most appropiate for scheduling a student on a driving s...

0 Likes 2 Replies

Eloquent Filter n:1 relationship

hello, i wrote the following filter to filter a model independently by the columns. But how do I pro...

0 Likes 2 Replies

Command mysql not found - Cypress Laracasts

I've implemented laracasts/cypress into our application and I've also used php artisan schema:dump -...

0 Likes 1 Replies
posted 10 months ago

need help programming this (spoonfeed or no spoonfeed)

Heya, I have a tab in my admin panel called "items", which displays items of every categor...

0 Likes 1 Replies

There is already an active transaction - error

hello, I'm using Laravel Version: 8.81, PHP Version: 8.1.1, Database: MySQL 8.0.23 During using DB::...

0 Likes 0 Replies

Offline laravel project shrink to online Databaselar

I have a local laravel project and also I have the same project on the online domain with hosting. N...

0 Likes 3 Replies

Use foreign Key to display information from other table lae

Hi i am trying to retrive information using the foreign key but it doesnt work. `<?php namespace...

0 Likes 6 Replies

Socialite - One user with multiple providers

I'm looking for best practice on setting up Laravel (with socialite) to handle multiple social provi...

0 Likes 0 Replies

Relationship between Pivot table hasMany turns

Hi, I am trying to create a game with the tables listed below. There is a sample of the migration fi...

0 Likes 0 Replies

Schema::hasColumn has problems in some scenarios

After model is set from(), in addGlobalScope, query field does not exist column through Schema::hasC...

0 Likes 0 Replies
posted 1 year ago

What's the best way to add data to a live site?

Migrations are great for changing the structure of the database. But what if you want to do stuff w...

0 Likes 1 Replies

Cannot execute queries while other unbuffered queries are ac

My Laravel application (version 5.0.33) has suddenly started throwing the following error: local.ER...

0 Likes 1 Replies

Migration - Create/Drop View

Hello fellows, I'd like to request request new methods for creating/deleting views on migration... (...

0 Likes 0 Replies

Illuminate\Database\Connection->$tablePrefix is an array

Whenever I try to run any database-related Artisan command (e.g. migrate, schema:dump), I get an Arr...

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.

© 2023 Laravel.io - All rights reserved.