['type' => 'uBigint', 'title' => '分组ID'], 'type' => ['type' => 'tinyint', 'title' => '类型 1图片2视频3音频'], 'filename' => ['type' => 'string', 'title' => '文件名称'], 'extension' => ['type' => 'string', 'title' => '后缀'], 'path' => ['type' => 'string', 'title' => '存储路径'], 'size' => ['type' => 'integer', 'title' => '大小'], ]; } public function init() { } /** * Run the database seeds. * * @return void */ public function run() { $this->schema = 'media_list'; $this->title = '媒体文件列表'; // $this->category_type = 2; $this->start(); } }