refactor: 修改图片上传区分模块
This commit is contained in:
@@ -29,7 +29,7 @@ class CreateSysImage extends Migrator
|
||||
{
|
||||
$table = $this->table('sys_image', ['engine' => 'MyISAM', 'comment' => '图片表']);
|
||||
$table->addColumn('language_id', 'integer', ['signed' => false, 'null' => false, 'comment' => '语言ID'])
|
||||
->addColumn('image_name', 'string', ['limit' => 125, 'null' => false, 'comment' => '图片名称'])
|
||||
->addColumn('module', 'string', ['limit' => 64, 'null' => false, 'comment' => '图片所属模块'])
|
||||
->addColumn('image_path', 'string', ['limit' => 125, 'null' => false, 'comment' => '图片路径'])
|
||||
->addColumn('image_thumb', 'string', ['limit' => 125, 'null' => false, 'comment' => '缩略图路径'])
|
||||
->addColumn('image_size', 'integer', ['null' => false, 'comment' => '图片大小'])
|
||||
|
||||
Reference in New Issue
Block a user