increments('id'); $table->string("name")->comment("试卷名称"); $table->text("questions_id")->comment("题目和答案"); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('exams'); } }