21 lines
440 B
PHP
21 lines
440 B
PHP
|
|
<?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',
|
||
|
|
]);
|
||
|
|
}
|
||
|
|
}
|