Reputation: 3118
Generally, letting application to change database schema is not a good idea (at least from some dbas point of view!)
So is there any workaround to use separate database user which has enough schema update privileges for php artisan migrate
command?
Upvotes: 2
Views: 179
Reputation: 7656
You can always set the connection on migration. for example:
Schema::connection('myotherconnection')->create('some_table', function($table)
{
$table->increments('id'):
});
Upvotes: 1