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
pad-upe
Commits
06692c26
Commit
06692c26
authored
Mar 24, 2022
by
alissonalbuquerque
Browse files
add professores de teste
parent
39c527a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
database/seeders/UserSeeder.php
View file @
06692c26
...
...
@@ -19,15 +19,15 @@ class UserSeeder extends Seeder
public
function
run
()
{
// UsersTeacher
$ids
=
range
(
1
,
5
)
;
$ids
=
[
1
,
2
,
3
,
4
,
5
]
;
foreach
(
$ids
as
$id
)
{
User
::
create
([
'type'
=>
User
::
TYPE_TEACHER
,
'name'
=>
"
Use
r
{
$id
}
"
,
'email'
=>
"
use
r
{
$id
}
@upe.br"
,
'name'
=>
"
Professo
r
{
$id
}
"
,
'email'
=>
"
professo
r
{
$id
}
@upe.br"
,
'email_verified_at'
=>
null
,
'password'
=>
Hash
::
make
(
'
12345678
'
),
'password'
=>
Hash
::
make
(
'
@professor
'
),
'document'
=>
"00000000
{
$id
}
"
,
'status'
=>
User
::
STATUS_ACTIVE
,
'unidade_id'
=>
3
,
...
...
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