Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Unable to use package in tenancy mode #255

Closed
lucabecchetti opened this issue Feb 9, 2024 · 0 comments
Closed

Unable to use package in tenancy mode #255

lucabecchetti opened this issue Feb 9, 2024 · 0 comments

Comments

@lucabecchetti
Copy link

hi guys... i'm using this wonderfull package with spatie settings, but it always try to load settings from central datasse, i create a new model class that extend spatie settings model:

<?php

namespace App\Models;
use Spatie\LaravelSettings\Models\SettingsProperty as BaseSettingsProperty;
use Stancl\Tenancy\Database\Concerns\TenantConnection;

class TenantSettingsProperty extends BaseSettingsProperty
{
    use TenantConnection;
}

But i get: Database connection [tenant] not configured

Can someone help me please?

@spatie spatie locked and limited conversation to collaborators Feb 19, 2024
@rubenvanassche rubenvanassche converted this issue into discussion #257 Feb 19, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant