mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
change language id to uuid
This commit is contained in:
@@ -14,7 +14,7 @@ class CreateLanguagesTable extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::create('languages', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->uuid('id')->primary();
|
||||
$table->string('name');
|
||||
$table->string('locale')->unique();
|
||||
});
|
||||
|
||||
@@ -15,7 +15,7 @@ class CreateLanguageStrings extends Migration
|
||||
{
|
||||
Schema::create('language_strings', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->bigInteger('language_id');
|
||||
$table->uuid('language_id');
|
||||
$table->string('key');
|
||||
$table->longText('value');
|
||||
$table->string('lang');
|
||||
|
||||
Reference in New Issue
Block a user