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
99a938d8
"app/Http/git@sites.upe.br:walter.felipe/pad-upe.git" did not exist on "5e6aeadc8725877edea9dbd363940d492c61f59c"
Commit
99a938d8
authored
Sep 14, 2021
by
José Rômulo
Browse files
Modificando tabela participantes
parent
0336f9cd
Changes
1
Show whitespace changes
Inline
Side-by-side
database/migrations/2021_09_14_091507_alter_table_participantes.php
0 → 100644
View file @
99a938d8
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AlterTableParticipantes
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'participantes'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'anexoTermoCompromisso'
)
->
nullable
();
$table
->
string
(
'anexoComprovanteMatricula'
)
->
nullable
();
$table
->
string
(
'anexoLattes'
)
->
nullable
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'participantes'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'anexoTermoCompromisso'
);
$table
->
dropColumn
(
'anexoComprovanteMatricula'
);
$table
->
dropColumn
(
'anexoLattes'
);
});
}
}
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