mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-06 02:33:48 +00:00
35 lines
756 B
PHP
35 lines
756 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
class CreateLanguageStrings extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('language_translations', function (Blueprint $table) {
|
|
$table->string('key');
|
|
$table->longText('value');
|
|
$table->string('lang');
|
|
$table->charset = 'utf8mb4';
|
|
$table->collation = 'utf8mb4_unicode_ci';
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('language_translations');
|
|
}
|
|
}
|