mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-28 22:55:35 +01:00
* 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
19 lines
276 B
PHP
19 lines
276 B
PHP
<?php
|
|
|
|
namespace MyAAC\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Gallery extends Model {
|
|
|
|
protected $table = TABLE_PREFIX . 'gallery';
|
|
|
|
public $timestamps = false;
|
|
|
|
protected $fillable = [
|
|
'comment', 'image', 'thumb',
|
|
'author', 'ordering', 'hide',
|
|
];
|
|
|
|
}
|