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
5673688a
"resources/views/vscode:/vscode.git/clone" did not exist on "87436d8487d274f4da1d1cd8e7c672b2b6314455"
Commit
5673688a
authored
Nov 12, 2021
by
Guilherme Silva
Browse files
Mudança de atributo para novo arquivo de migração
parent
19529938
Changes
2
Show whitespace changes
Inline
Side-by-side
database/migrations/2021_08_27_145845_create_substituicaos_table.php
View file @
5673688a
...
...
@@ -19,7 +19,6 @@ class CreateSubstituicaosTable extends Migration
$table
->
enum
(
'tipo'
,
[
'Completa'
,
'TrocarPlano'
,
'ManterPlano'
]);
$table
->
text
(
'justificativa'
)
->
nullable
();
$table
->
string
(
'causa'
)
->
nullable
();
$table
->
text
(
'observacao'
)
->
nullable
();
$table
->
unsignedBigInteger
(
'trabalho_id'
);
$table
->
unsignedBigInteger
(
'participanteSubstituido_id'
);
...
...
database/migrations/2021_11_12_093019_alter_table_substituicaos.php
0 → 100644
View file @
5673688a
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AlterTableSubstituicaos
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'substituicaos'
,
function
(
Blueprint
$table
)
{
$table
->
text
(
'observacao'
)
->
nullable
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'substituicaos'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'observacao'
);
});
}
}
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