12
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
namespace app\model\Openim;
|
||||
|
||||
use think\Model;
|
||||
/**
|
||||
* @property string $key
|
||||
* @property string $value
|
||||
*/
|
||||
class DataVersion extends \app\model\Base
|
||||
{
|
||||
protected $table = 'data_version';
|
||||
protected $schema = [
|
||||
'key' => 'string',
|
||||
'value' => 'string',
|
||||
];
|
||||
protected function getOptions(): array{
|
||||
return array_merge(parent::getOptions(),[
|
||||
'connection' => 'immongodb',
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user