mirror of
https://github.com/slawkens/myaac.git
synced 2026-04-23 10:53:32 +02:00
Merge branch 'main' into develop
This commit is contained in:
@@ -18,6 +18,15 @@ class Account extends Model {
|
|||||||
|
|
||||||
public $timestamps = false;
|
public $timestamps = false;
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'name', 'number', 'email', 'password',
|
||||||
|
'key', 'created', 'rlname', 'location', 'country',
|
||||||
|
'web_lastlogin', 'web_flags',
|
||||||
|
'email_new', 'email_new_time', 'email_code',
|
||||||
|
'premium_points', 'coins', 'coins_transferable',
|
||||||
|
'premium_ends_at', 'premend', 'lastday', 'premdays',
|
||||||
|
];
|
||||||
|
|
||||||
protected $casts = [
|
protected $casts = [
|
||||||
'lastday' => 'integer',
|
'lastday' => 'integer',
|
||||||
'premdays' => 'integer',
|
'premdays' => 'integer',
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace MyAAC\Models;
|
|
||||||
|
|
||||||
use Illuminate\Database\Eloquent\Model;
|
|
||||||
|
|
||||||
class BugTracker extends Model {
|
|
||||||
|
|
||||||
protected $table = TABLE_PREFIX . 'bugtracker';
|
|
||||||
|
|
||||||
public $timestamps = false;
|
|
||||||
|
|
||||||
protected $fillable = ['account', 'type', 'status', 'text', 'id', 'subject', 'reply', 'who', 'uid', 'tag'];
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user