style updates
This commit is contained in:
+3
@@ -1,7 +1,9 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
@@ -35,6 +37,7 @@ return new class extends Migration
|
||||
$table->index(['locale_id', 'field']);
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('localized_contents');
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Localization\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Localization\Models\Locale;
|
||||
|
||||
final class LocaleSeeder extends Seeder
|
||||
{
|
||||
public function run(): void
|
||||
|
||||
Reference in New Issue
Block a user