1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace Database\Seeders\Developer;
- use Database\Seeders\BaseSeeder;
- use Txj\Elastic\Facades\Eav;
- use Txj\Elastic\Facades\ES;
- class DepEsIndicesSeeder extends BaseSeeder
- {
- public function getColumnData()
- {
- return [
- 'assemble_id' => ['type' => 'uBigInt', 'title' => '集合(表)id'],
- 'setting' => ['type' => 'json', 'title' => 'ES索引设置信息'],
- ];
- }
- public function init()
- {
- }
- /**
- * Run the database seeds.
- *
- * @return void
- */
- public function run()
- {
- $this->schema = 'dep_es_indices';
- $this->title = 'ES索引表';
-
- $this->start();
- }
- }
|