Commit 2d69c156 authored by alissonalbuquerque's avatar alissonalbuquerque
Browse files

add notNull em coluna pad_id

parent c1820eef
......@@ -22,7 +22,7 @@ class CreateEnsinoAulasTable extends Migration
$table->tinyInteger('modalidade')->notNull();
$table->integer('ch_semanal')->notNull();
$table->integer('ch_total')->notNull();
$table->foreignId('pad_id');
$table->foreignId('pad_id')->notNull();
$table->timestamps();
});
}
......
......@@ -21,7 +21,7 @@ class CreateEnsinoCoordenacaoTable extends Migration
$table->tinyInteger('nivel')->notNull();
$table->tinyInteger('modalidade')->notNull();
$table->integer('ch_semanal')->notNull();
$table->foreignId('pad_id');
$table->foreignId('pad_id')->notNull();
$table->timestamps();
});
}
......
......@@ -22,7 +22,7 @@ class CreateEnsinoOrientacoesTable extends Migration
$table->tinyInteger('type_orientacao')->notNull();
$table->tinyInteger('numero_orientandos')->nullable();
$table->integer('ch_semanal')->notNull();
$table->foreignId('pad_id');
$table->foreignId('pad_id')->notNull();
$table->timestamps();
});
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment