modificacion tabla narrativa
This commit is contained in:
parent
ef8dc455f7
commit
3079477eb0
@ -15,13 +15,12 @@ public function up()
|
|||||||
{
|
{
|
||||||
Schema::create('narrativas', function (Blueprint $table) {
|
Schema::create('narrativas', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->integer('year');
|
$table->string('semestre', 255);
|
||||||
$table->string('semestre',255);
|
$table->mediumText('cabecera');
|
||||||
$table->mediumText('cabecera');
|
$table->mediumText('contenido');
|
||||||
$table->mediumText('contenido');
|
$table->foreignId('id_estandar')
|
||||||
$table->foreignId('id_estandar')
|
->constrained('estandars')
|
||||||
->constrained('estandars')
|
->onDelete('cascade');
|
||||||
->onDelete('cascade');
|
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user