表前缀

This commit is contained in:
2025-07-07 15:27:48 +08:00
parent bb1f105021
commit 03a6d65b00
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class Attachment extends Model
* *
* @var string * @var string
*/ */
protected $table = 'ticket_attachment'; protected $table = 'tkt_ticket_attachment';
/** /**
* The primary key associated with the table. * The primary key associated with the table.
+1 -1
View File
@@ -18,7 +18,7 @@ class Categorie extends Model
{ {
use SoftDeletes; use SoftDeletes;
protected $connection = 'mysql'; protected $connection = 'mysql';
protected $table = 'ticket_categorie'; protected $table = 'tkt_ticket_categorie';
protected $primaryKey = 'id'; protected $primaryKey = 'id';
public $timestamps = true; public $timestamps = true;
protected $dateFormat = 'U'; protected $dateFormat = 'U';
+1 -1
View File
@@ -17,7 +17,7 @@ use support\Model;
class CategorieTranslation extends Model class CategorieTranslation extends Model
{ {
protected $connection = 'mysql'; protected $connection = 'mysql';
protected $table = 'ticket_categorie_translation'; protected $table = 'tkt_ticket_categorie_translation';
protected $primaryKey = 'id'; protected $primaryKey = 'id';
public $timestamps = true; public $timestamps = true;
protected $dateFormat = 'U'; protected $dateFormat = 'U';
+1 -1
View File
@@ -16,7 +16,7 @@ use support\Model;
class Conversation extends Model class Conversation extends Model
{ {
protected $connection = 'mysql'; protected $connection = 'mysql';
protected $table = 'ticket_conversation'; protected $table = 'tkt_ticket_conversation';
protected $primaryKey = 'id'; protected $primaryKey = 'id';
public $timestamps = true; public $timestamps = true;
protected $dateFormat = 'U'; protected $dateFormat = 'U';
+1 -1
View File
@@ -33,7 +33,7 @@ class Ticket extends Model
* *
* @var string * @var string
*/ */
protected $table = 'ticket'; protected $table = 'tkt_ticket';
/** /**
* The primary key associated with the table. * The primary key associated with the table.