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
9a66ff38
Commit
9a66ff38
authored
Jul 14, 2022
by
GuilhermeGz
Browse files
Adicionados colunas para possibilitar utilização de documento extra nos editais
parent
3e330d48
Changes
4
Hide whitespace changes
Inline
Side-by-side
database/migrations/2022_07_04_163438_add_doc_tutorial_to_eventos_table.php
View file @
9a66ff38
...
@@ -14,9 +14,7 @@ class AddDocTutorialToEventosTable extends Migration
...
@@ -14,9 +14,7 @@ class AddDocTutorialToEventosTable extends Migration
public
function
up
()
public
function
up
()
{
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'docTutorial'
)
->
nullable
();
$table
->
string
(
'docTutorial'
)
->
nullable
();
});
});
});
}
}
...
...
database/migrations/2022_07_12_055454_add_nome_doc_extra_to_eventos_table.php
0 → 100644
View file @
9a66ff38
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AddNomeDocExtraToEventosTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'nome_docExtra'
)
->
nullable
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'nome_docExtra'
);
});
}
}
database/migrations/2022_07_12_055505_add_anexo_doc_extra_to_trabalhos_table.php
0 → 100644
View file @
9a66ff38
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AddAnexoDocExtraToTrabalhosTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'trabalhos'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'anexo_docExtra'
)
->
nullable
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'trabalhos'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'anexo_docExtra'
);
});
}
}
database/migrations/2022_07_12_124026_add_obrigatoriedade_doc_extra_to_eventos.php
0 → 100644
View file @
9a66ff38
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AddObrigatoriedadeDocExtraToEventos
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
$table
->
boolean
(
'obrigatoriedade_docExtra'
)
->
nullable
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'eventos'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'obrigatoriedade_docExtra'
);
});
}
}
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