id(); $table->string('locale', 5); $table->string('namespace', 32)->default('*'); $table->string('group', 64); $table->string('key', 255); $table->text('value'); $table->foreignId('updated_by')->nullable()->constrained('users')->nullOnDelete(); $table->timestamps(); $table->unique(['locale', 'namespace', 'group', 'key']); $table->index(['locale', 'group']); }); } public function down(): void { Schema::dropIfExists('translations'); } };