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
d40a70df
"vscode:/vscode.git/clone" did not exist on "abc8c7b3b2a52f6d0dad06c6a77e5e8dd3ade290"
Commit
d40a70df
authored
Dec 30, 2022
by
Lucas Henrique
Browse files
Migration para adicionar tipo de avaliação a tabela de eventos
parent
cd03d70e
Changes
1
Show whitespace changes
Inline
Side-by-side
database/migrations/2022_12_30_182010_add_tipo_avaliacao_to_eventos_table.php
0 → 100644
View file @
d40a70df
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AddTipoAvaliacaoToEventosTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'tipoAvaliacao'
)
->
nullable
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'tipoAvaliacao'
);
});
}
}
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