Skip to content

Support non-default database connections#385

Open
gergelykralik wants to merge 1 commit intoVentureCraft:masterfrom
gergelykralik:master
Open

Support non-default database connections#385
gergelykralik wants to merge 1 commit intoVentureCraft:masterfrom
gergelykralik:master

Conversation

@gergelykralik
Copy link

Support database connection declared by extended model class.

use Venturecraft\Revisionable\Revision as BaseRevision;

class Revision extends BaseRevision
{
    protected $connection = 'customeconnection';
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments