Support the ongoing development of Laravel.io →

gudron

Joined 22 Feb 2015

Statistics

Threads 1
Replies 1
Solutions 1
Articles 0

Using two different database users for web applications and console migrations. Is it possible?

Hello everyone. First case: At the database level have I created two users - "app_web_worker&qu...

0 Likes
1 Replies
Solved
replied 9 years ago

Using two different database users for web applications and console migrations. Is it possible?

My solution: if($app->runningInConsole()) { $app->loadEnvironmentFrom('console.env'); }...

0 Likes
Solved

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.