Database import tables on every install with "IF NOT EXISTS" (#336)

* Database import tables on every install with "IF NOT EXISTS"

This fixed errors when one table is missing or is duplicated

* Add success message on import data

* Reorder
This commit is contained in:
Slawomir Boczek
2025-10-27 16:27:22 +01:00
committed by GitHub
parent 8f47b36dc8
commit 2580edadf8
10 changed files with 150 additions and 56 deletions

View File

@@ -10,4 +10,9 @@ class Gallery extends Model {
public $timestamps = false;
protected $fillable = [
'comment', 'image', 'thumb',
'author', 'ordering', 'hide',
];
}