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