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
Commit
0eea608b
authored
2 years ago
by
Lucas Henrique
Browse files
Options
Download
Email Patches
Plain Diff
Migração para criar coluna conflitosInteresse na tabela Trabalhos
parent
51e764ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
database/migrations/2022_11_08_214901_add_conflitos_interesse_to_trabalhos_table.php
+32
-0
..._08_214901_add_conflitos_interesse_to_trabalhos_table.php
with
32 additions
and
0 deletions
+32
-0
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'
);
});
}
}
This diff is collapsed.
Click to expand it.
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