更新
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace app\model;
|
||||
|
||||
use think\Model;
|
||||
|
||||
class Message extends Model
|
||||
{
|
||||
protected $name = 'messages';
|
||||
protected $autoWriteTimestamp = 'created_at';
|
||||
protected $createTime = 'created_at';
|
||||
protected $updateTime = false;
|
||||
|
||||
protected $type = [
|
||||
'attachments' => 'json',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user