Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
pad-upe
Commits
2d69c156
Commit
2d69c156
authored
Mar 24, 2022
by
alissonalbuquerque
Browse files
add notNull em coluna pad_id
parent
c1820eef
Changes
3
Hide whitespace changes
Inline
Side-by-side
database/migrations/2022_03_22_225548_create_ensino_aulas_table.php
View file @
2d69c156
...
@@ -22,7 +22,7 @@ class CreateEnsinoAulasTable extends Migration
...
@@ -22,7 +22,7 @@ class CreateEnsinoAulasTable extends Migration
$table
->
tinyInteger
(
'modalidade'
)
->
notNull
();
$table
->
tinyInteger
(
'modalidade'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
integer
(
'ch_total'
)
->
notNull
();
$table
->
integer
(
'ch_total'
)
->
notNull
();
$table
->
foreignId
(
'pad_id'
);
$table
->
foreignId
(
'pad_id'
)
->
notNull
()
;
$table
->
timestamps
();
$table
->
timestamps
();
});
});
}
}
...
...
database/migrations/2022_03_23_184642_create_ensino_coordenacao_table.php
View file @
2d69c156
...
@@ -21,7 +21,7 @@ class CreateEnsinoCoordenacaoTable extends Migration
...
@@ -21,7 +21,7 @@ class CreateEnsinoCoordenacaoTable extends Migration
$table
->
tinyInteger
(
'nivel'
)
->
notNull
();
$table
->
tinyInteger
(
'nivel'
)
->
notNull
();
$table
->
tinyInteger
(
'modalidade'
)
->
notNull
();
$table
->
tinyInteger
(
'modalidade'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
foreignId
(
'pad_id'
);
$table
->
foreignId
(
'pad_id'
)
->
notNull
()
;
$table
->
timestamps
();
$table
->
timestamps
();
});
});
}
}
...
...
database/migrations/2022_03_23_190559_create_ensino_orientacoes_table.php
View file @
2d69c156
...
@@ -22,7 +22,7 @@ class CreateEnsinoOrientacoesTable extends Migration
...
@@ -22,7 +22,7 @@ class CreateEnsinoOrientacoesTable extends Migration
$table
->
tinyInteger
(
'type_orientacao'
)
->
notNull
();
$table
->
tinyInteger
(
'type_orientacao'
)
->
notNull
();
$table
->
tinyInteger
(
'numero_orientandos'
)
->
nullable
();
$table
->
tinyInteger
(
'numero_orientandos'
)
->
nullable
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
foreignId
(
'pad_id'
);
$table
->
foreignId
(
'pad_id'
)
->
notNull
()
;
$table
->
timestamps
();
$table
->
timestamps
();
});
});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment