diff options
Diffstat (limited to 'database/factories/WorkspaceFactory.ts')
-rw-r--r-- | database/factories/WorkspaceFactory.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/database/factories/WorkspaceFactory.ts b/database/factories/WorkspaceFactory.ts new file mode 100644 index 0000000..40cda6b --- /dev/null +++ b/database/factories/WorkspaceFactory.ts | |||
@@ -0,0 +1,7 @@ | |||
1 | import Workspace from 'App/Models/Workspace'; | ||
2 | import Factory from '@ioc:Adonis/Lucid/Factory'; | ||
3 | |||
4 | export default Factory.define(Workspace, ({ faker }) => ({ | ||
5 | name: faker.internet.userName(), | ||
6 | workspaceId: faker.string.alphanumeric(10), | ||
7 | })).build(); | ||