refactor: 调整图片上传
This commit is contained in:
@@ -27,7 +27,7 @@ class CreateSysImage extends Migrator
|
||||
*/
|
||||
public function change()
|
||||
{
|
||||
$table = $this->table('sys_image', ['engine' => 'MyISAM', 'comment' => '图片表']);
|
||||
$table = $this->table('sys_image', ['engine' => 'MyISAM', 'comment' => '图片上传表']);
|
||||
$table->addColumn('language_id', 'integer', ['signed' => false, 'null' => false, 'comment' => '语言ID'])
|
||||
->addColumn('module', 'string', ['limit' => 64, 'null' => false, 'comment' => '图片所属模块'])
|
||||
->addColumn('image_path', 'string', ['limit' => 125, 'null' => false, 'comment' => '图片路径'])
|
||||
|
||||
Reference in New Issue
Block a user