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.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/database/factories/ServiceFactory.ts b/database/factories/ServiceFactory.ts
new file mode 100644
index 0000000..f675063
--- /dev/null
+++ b/database/factories/ServiceFactory.ts
@@ -0,0 +1,8 @@
1import Service from 'App/Models/Service';
2import Factory from '@ioc:Adonis/Lucid/Factory';
3
4export default Factory.define(Service, ({ faker }) => ({
5 name: faker.company.name(),
6 recipeId: faker.string.alphanumeric(9),
7 serviceId: faker.string.alphanumeric(10),
8})).build();