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
93aeead9
Commit
93aeead9
authored
Nov 02, 2021
by
Guilherme Silva
Browse files
Alteração de um período para dois, ao determinar datas de envio dos relatórios
parent
53f9d681
Changes
1
Hide whitespace changes
Inline
Side-by-side
database/migrations/2021_10_30_053509_alter_table_eventos2.php
View file @
93aeead9
...
...
@@ -14,8 +14,10 @@ class AlterTableEventos2 extends Migration
public
function
up
()
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
$table
->
date
(
'dt_inicioRelatorio'
)
->
nullable
();
$table
->
date
(
'dt_fimRelatorio'
)
->
nullable
();
$table
->
date
(
'dt_inicioRelatorioParcial'
)
->
nullable
();
$table
->
date
(
'dt_fimRelatorioParcial'
)
->
nullable
();
$table
->
date
(
'dt_inicioRelatorioFinal'
)
->
nullable
();
$table
->
date
(
'dt_fimRelatorioFinal'
)
->
nullable
();
});
}
...
...
@@ -27,8 +29,10 @@ class AlterTableEventos2 extends Migration
public
function
down
()
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'dt_inicioRelatorio'
);
$table
->
dropColumn
(
'dt_fimRelatorio'
);
$table
->
dropColumn
(
'dt_inicioRelatorioParcial'
);
$table
->
dropColumn
(
'dt_fimRelatorioParcial'
);
$table
->
dropColumn
(
'dt_inicioRelatorioFinal'
);
$table
->
dropColumn
(
'dt_fimRelatorioFinal'
);
});
}
}
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