id(); $table->integer('year'); $table->string('semestre',255); $table->mediumText('cabecera'); $table->mediumText('contenido'); $table->foreignId('id_estandar') ->constrained('estandars') ->onDelete('cascade'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('narrativas'); } };