mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-29 23:16:23 +01:00
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:
@@ -10,4 +10,9 @@ class Gallery extends Model {
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $fillable = [
|
||||
'comment', 'image', 'thumb',
|
||||
'author', 'ordering', 'hide',
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user