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

How to use multi db for settings? #2

Open
Pasquale-CS opened this issue Aug 2, 2021 · 0 comments
Open

How to use multi db for settings? #2

Pasquale-CS opened this issue Aug 2, 2021 · 0 comments

Comments

@Pasquale-CS
Copy link

Pasquale-CS commented Aug 2, 2021

I tried to insert the trait
use\Techmobi\Multidb\Traits\UsesMultiConnection;
but in both domains I see the same values.

This is the model of the settings:

namespace Xxx\Xxxxxx\Models;
  
use Model;

class Settings extends Model
{
    use \Techmobi\Multidb\Traits\UsesMultiConnection;
    
    public $implement = ['System.Behaviors.SettingsModel'];

    public $settingsCode = 'xxx_xxxxxx_settings';

    public $settingsFields = 'fields.yaml';
}

Is it possible to solve?

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