diff options
Diffstat (limited to 'database/factories/ServiceFactory.ts')
-rw-r--r-- | database/factories/ServiceFactory.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/database/factories/ServiceFactory.ts b/database/factories/ServiceFactory.ts index 696a049..6e91c75 100644 --- a/database/factories/ServiceFactory.ts +++ b/database/factories/ServiceFactory.ts | |||
@@ -1,8 +1,8 @@ | |||
1 | import Service from '#app/Models/Service' | 1 | import Service from '#app/Models/Service'; |
2 | import Factory from '@adonisjs/lucid/factories' | 2 | import Factory from '@adonisjs/lucid/factories'; |
3 | 3 | ||
4 | export default Factory.define(Service, ({ faker }) => ({ | 4 | export default Factory.define(Service, ({ faker }) => ({ |
5 | name: faker.company.name(), | 5 | name: faker.company.name(), |
6 | recipeId: faker.string.alphanumeric(9), | 6 | recipeId: faker.string.alphanumeric(9), |
7 | serviceId: faker.string.alphanumeric(10), | 7 | serviceId: faker.string.alphanumeric(10), |
8 | })).build() | 8 | })).build(); |