aboutsummaryrefslogtreecommitdiffstats
path: root/database/factories/ServiceFactory.ts
diff options
context:
space:
mode:
Diffstat (limited to 'database/factories/ServiceFactory.ts')
-rw-r--r--database/factories/ServiceFactory.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/database/factories/ServiceFactory.ts b/database/factories/ServiceFactory.ts
index f675063..696a049 100644
--- a/database/factories/ServiceFactory.ts
+++ b/database/factories/ServiceFactory.ts
@@ -1,8 +1,8 @@
1import Service from 'App/Models/Service'; 1import Service from '#app/Models/Service'
2import Factory from '@ioc:Adonis/Lucid/Factory'; 2import Factory from '@adonisjs/lucid/factories'
3 3
4export default Factory.define(Service, ({ faker }) => ({ 4export 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()