feat: separate tenant domain and base path, update related models, requests, and tests
This commit is contained in:
@@ -24,6 +24,7 @@ use Illuminate\Support\Facades\Schema;
|
||||
'codigo',
|
||||
'nombre',
|
||||
'dominio',
|
||||
'base_path',
|
||||
'site_title',
|
||||
'primary_color',
|
||||
'secondary_color',
|
||||
@@ -55,6 +56,7 @@ class Tenant extends Model
|
||||
use HasFactory;
|
||||
|
||||
protected $attributes = [
|
||||
'base_path' => '/',
|
||||
'search_product_layout' => ProductLayout::ColumnWithImage->value,
|
||||
'search_group_layout' => GroupLayout::Paginated->value,
|
||||
'search_items_per_page' => 12,
|
||||
|
||||
Reference in New Issue
Block a user