mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-15 13:29:47 +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
17 lines
295 B
PHP
17 lines
295 B
PHP
<?php
|
|
|
|
namespace MyAAC\Models;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class ForumBoard extends Model {
|
|
|
|
protected $table = TABLE_PREFIX . 'forum_boards';
|
|
|
|
public $timestamps = false;
|
|
|
|
protected $fillable = [
|
|
'name', 'description', 'ordering',
|
|
'guild', 'access', 'closed', 'hide',
|
|
];
|
|
}
|