id(); $table->string('name'); $table->string('slug')->unique(); $table->string('domain')->nullable(); $table->boolean('is_active')->default(true); $table->string('default_locale', 10)->default('fa'); $table->enum('default_calendar', ['gregorian', 'jalali', 'hijri'])->default('jalali'); $table->foreignId('base_currency_id')->nullable()->constrained('currencies')->nullOnDelete(); $table->boolean('allow_multi_currency')->default(false); $table->string('logo_path')->nullable(); $table->json('settings')->nullable(); $table->timestamps(); $table->softDeletes(); }); } public function down(): void { Schema::dropIfExists('tenants'); } };