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
6ec36cc3
"app/git@sites.upe.br:walter.felipe/submeta.git" did not exist on "f9faab3f371e020326b486f34652bb76165f8810"
Commit
6ec36cc3
authored
Jan 30, 2022
by
Guilherme Silva
Browse files
Adicionado tipo ao avaliador
parent
45ed170d
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Avaliador.php
View file @
6ec36cc3
...
@@ -13,6 +13,7 @@ class Avaliador extends Model
...
@@ -13,6 +13,7 @@ class Avaliador extends Model
'parecer'
,
'parecer'
,
'AnexoParecer'
,
'AnexoParecer'
,
'pivot'
,
'pivot'
,
'tipo'
,
];
];
public
function
user
(){
public
function
user
(){
return
$this
->
belongsTo
(
'App\User'
);
return
$this
->
belongsTo
(
'App\User'
);
...
...
database/migrations/2021_11_23_034858_alter_table_avaliadors.php
0 → 100644
View file @
6ec36cc3
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AlterTableAvaliadors
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'avaliadors'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'tipo'
)
->
nullable
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'avaliadors'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'tipo'
);
});
}
}
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