['type' => 'uBigint', 'title' => '用户id', 'is_null' => 0], 'name' => ['type' => 'string', 'title' => 'token名称'], 'token' => ['type' => 'string_64', 'title' => 'token'], 'last_used_at' => ['type' => 'uBigint', 'title' => '最后一个使用时间', 'is_null' => 1], ]; } /** * 初始化内容 */ public function init() { } /** * Run the database seeds. * * @return void */ public function run() { $this->schema = 'user_access_token'; $this->title = '用户登录token表'; $this->start(); } }