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
0f65850d
Commit
0f65850d
authored
Jan 30, 2022
by
Guilherme Silva
Browse files
Adicionado tipo de avaliador no arquivo de seed do mesmo
parent
916adb41
Changes
1
Hide whitespace changes
Inline
Side-by-side
database/seeds/AvaliadorSeeder.php
View file @
0f65850d
...
@@ -17,8 +17,9 @@ class AvaliadorSeeder extends Seeder
...
@@ -17,8 +17,9 @@ class AvaliadorSeeder extends Seeder
DB
::
table
(
'avaliadors'
)
->
insert
([
DB
::
table
(
'avaliadors'
)
->
insert
([
'user_id'
=>
$user_id
[
0
],
'user_id'
=>
$user_id
[
0
],
'area_id'
=>
1
,
'area_id'
=>
1
,
'tipo'
=>
'Externo'
,
]);
]);
// $aval = App\Avaliador::find(1);
// $aval = App\Avaliador::find(1);
// $evento = App\Evento::find(1);
// $evento = App\Evento::find(1);
// $trabalho = App\Trabalho::find(1);
// $trabalho = App\Trabalho::find(1);
...
@@ -37,6 +38,7 @@ class AvaliadorSeeder extends Seeder
...
@@ -37,6 +38,7 @@ class AvaliadorSeeder extends Seeder
DB
::
table
(
'avaliadors'
)
->
insert
([
DB
::
table
(
'avaliadors'
)
->
insert
([
'user_id'
=>
$user_id
[
0
],
'user_id'
=>
$user_id
[
0
],
'area_id'
=>
1
,
'area_id'
=>
1
,
'tipo'
=>
'Externo'
,
]);
]);
// $aval = App\Avaliador::find(2);
// $aval = App\Avaliador::find(2);
// $evento = App\Evento::find(1);
// $evento = App\Evento::find(1);
...
@@ -52,6 +54,7 @@ class AvaliadorSeeder extends Seeder
...
@@ -52,6 +54,7 @@ class AvaliadorSeeder extends Seeder
DB
::
table
(
'avaliadors'
)
->
insert
([
DB
::
table
(
'avaliadors'
)
->
insert
([
'user_id'
=>
$user_id
[
0
],
'user_id'
=>
$user_id
[
0
],
'area_id'
=>
1
,
'area_id'
=>
1
,
'tipo'
=>
'Externo'
,
]);
]);
// $aval = App\Avaliador::find(2);
// $aval = App\Avaliador::find(2);
...
@@ -65,6 +68,7 @@ class AvaliadorSeeder extends Seeder
...
@@ -65,6 +68,7 @@ class AvaliadorSeeder extends Seeder
DB
::
table
(
'avaliadors'
)
->
insert
([
DB
::
table
(
'avaliadors'
)
->
insert
([
'user_id'
=>
$user_id
[
0
],
'user_id'
=>
$user_id
[
0
],
'area_id'
=>
1
,
'area_id'
=>
1
,
'tipo'
=>
'Interno'
,
]);
]);
}
}
}
}
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