Language editor refactoring part 4 (backend + frontend)

This commit is contained in:
Peter Papp
2021-04-01 10:40:48 +02:00
parent 5130082111
commit 7772ef6b40
32 changed files with 288 additions and 161 deletions

View File

@@ -13,7 +13,7 @@ class CreateLanguageStrings extends Migration
*/
public function up()
{
Schema::create('language_strings', function (Blueprint $table) {
Schema::create('language_translations', function (Blueprint $table) {
$table->string('key');
$table->longText('value');
$table->string('lang');
@@ -27,6 +27,6 @@ class CreateLanguageStrings extends Migration
*/
public function down()
{
Schema::dropIfExists('language_strings');
Schema::dropIfExists('language_translations');
}
}