mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-26 06:34:41 +00:00
remove id from language_strings table
This commit is contained in:
+2
-2
@@ -19,8 +19,8 @@ class Language extends Model
|
||||
|
||||
protected static function booted()
|
||||
{
|
||||
static::creating(function($language) {
|
||||
$language->id = Str::uuid();
|
||||
static::creating(function($model) {
|
||||
$model->id = Str::uuid();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,9 @@ class LanguageString extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
|
||||
// public $incrementing = false;
|
||||
public $primaryKey = null;
|
||||
|
||||
public $incrementing = false;
|
||||
|
||||
protected $fillable = ['value', 'language_id' ,'key', 'lang'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user