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
0eea608b
"resources/views/vscode:/vscode.git/clone" did not exist on "d0baf46728524d7a28ef8d43408446a35cfd3356"
Commit
0eea608b
authored
Nov 08, 2022
by
Lucas Henrique
Browse files
Migração para criar coluna conflitosInteresse na tabela Trabalhos
parent
51e764ce
Changes
1
Show whitespace changes
Inline
Side-by-side
database/migrations/2022_11_08_214901_add_conflitos_interesse_to_trabalhos_table.php
0 → 100644
View file @
0eea608b
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AddConflitosInteresseToTrabalhosTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'trabalhos'
,
function
(
Blueprint
$table
)
{
$table
->
text
(
'conflitosInteresse'
)
->
nullable
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'trabalhos'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'conflitosInteresse'
);
});
}
}
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