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
7010e636
"resources/vscode:/vscode.git/clone" did not exist on "e2c7dea51f5c54eb342bd09170e118d4e421b4f9"
Commit
7010e636
authored
Jan 20, 2023
by
Lucas Henrique
Browse files
Adiciona softdelete na tabela AvaliacaoTrabalhos
parent
f926540e
Changes
1
Show whitespace changes
Inline
Side-by-side
database/migrations/2023_01_13_142051_add_softdelete_to_avaliacao_trabalhos.php
0 → 100644
View file @
7010e636
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AddSoftdeleteToAvaliacaoTrabalhos
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'avaliacao_trabalhos'
,
function
(
Blueprint
$table
)
{
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'avaliacao_trabalhos'
,
function
(
Blueprint
$table
)
{
$table
->
dropSoftDeletes
();
});
}
}
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