Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Storage Driver specified in config not being used when in production #120

Open
marlongichie opened this issue Feb 22, 2019 · 0 comments

Comments

@marlongichie
Copy link

Hello,

I've added a custom storage driver, which seems to work fine when running locally.

However, when deployed to production, it does not seem to get used, and instead reverts to using the "database" driver instead.

Here's the config:

'driver' => 'api',
'drivers' => [
        'api' => [
            'class' => \App\Currency\StorageDriver::class,
            'connection' => null,
            'table' => null,
        ]
]

This configuration works fine locally. But the moment it is deployed to production. it uses the database driver instead of the one specified in the config file.

Please advise.

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

No branches or pull requests

1 participant