Changed seeds and added link to user accounts
This commit is contained in:
@@ -8,19 +8,21 @@ export default class EmployeeSeeder extends BaseSeeder {
|
|||||||
try {
|
try {
|
||||||
await Employee.createMany([
|
await Employee.createMany([
|
||||||
{
|
{
|
||||||
firstName: 'Pascal',
|
firstName: 'Max',
|
||||||
lastName: 'König',
|
lastName: 'Mustermann',
|
||||||
shorthand: 'PK'
|
shorthand: 'MM',
|
||||||
|
userId: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
firstName: 'Sandra',
|
firstName: 'Jane',
|
||||||
lastName: 'Sühl',
|
lastName: 'Doe',
|
||||||
shorthand: 'SS'
|
shorthand: 'JD',
|
||||||
|
userId: 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
firstName: 'Karin',
|
firstName: 'Bingo',
|
||||||
lastName: 'Behr',
|
lastName: 'Bongo',
|
||||||
shorthand: 'KB'
|
shorthand: 'BB'
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user