|
|
|
|
@ -21,7 +21,7 @@ return new class extends Migration {
|
|
|
|
|
$table->string('author')->nullable()->comment('作者');
|
|
|
|
|
$table->string('isbn')->nullable()->comment('ISBN');
|
|
|
|
|
$table->string('publisher')->nullable()->comment('出版社');
|
|
|
|
|
$table->year('publish_year')->nullable()->comment('出版年份');
|
|
|
|
|
$table->string('publish_year')->nullable()->comment('出版年份');
|
|
|
|
|
$table->string('category')->nullable()->comment('分类');
|
|
|
|
|
$table->mediumText('description')->nullable()->comment('图书简介');
|
|
|
|
|
$table->integer('cover_id')->nullable()->comment('图书封面');
|
|
|
|
|
|