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
submeta
Commits
eb6b3545
Commit
eb6b3545
authored
Oct 30, 2021
by
Guilherme Silva
Browse files
Criado datas para inicio e fim da submissão dos relatórios
parent
5341a7d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Evento.php
View file @
eb6b3545
...
...
@@ -15,7 +15,8 @@ class Evento extends Model
'nome'
,
'descricao'
,
'tipo'
,
'inicioSubmissao'
,
'fimSubmissao'
,
'inicioRevisao'
,
'fimRevisao'
,
'resultado_final'
,
'resultado_preliminar'
,
'coordenadorId'
,
'numMaxTrabalhos'
,
'numMaxCoautores'
,
'hasResumo'
,
'criador_id'
,
'numParticipantes'
'numMaxTrabalhos'
,
'numMaxCoautores'
,
'hasResumo'
,
'criador_id'
,
'numParticipantes'
,
'dt_inicioRelatorio'
,
'dt_fimRelatorio'
];
public
function
endereco
(){
...
...
database/migrations/2021_10_30_053509_alter_table_eventos2.php
0 → 100644
View file @
eb6b3545
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AlterTableEventos2
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
$table
->
date
(
'dt_inicioRelatorio'
)
->
nullable
();
$table
->
date
(
'dt_fimRelatorio'
)
->
nullable
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'dt_inicioRelatorio'
);
$table
->
dropColumn
(
'dt_fimRelatorio'
);
});
}
}
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