diff options
Diffstat (limited to 'src/internal-server/database/factory.js')
-rw-r--r-- | src/internal-server/database/factory.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/internal-server/database/factory.js b/src/internal-server/database/factory.js new file mode 100644 index 000000000..8534fc20a --- /dev/null +++ b/src/internal-server/database/factory.js | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | |-------------------------------------------------------------------------- | ||
3 | | Factory | ||
4 | |-------------------------------------------------------------------------- | ||
5 | | | ||
6 | | Factories are used to define blueprints for database tables or Lucid | ||
7 | | models. Later you can use these blueprints to seed your database | ||
8 | | with dummy data. | ||
9 | | | ||
10 | */ | ||
11 | |||
12 | /** @type {import('@adonisjs/lucid/src/Factory')} */ | ||
13 | // const Factory = use('Factory') | ||
14 | |||
15 | // Factory.blueprint('App/Models/User', (faker) => { | ||
16 | // return { | ||
17 | // username: faker.username() | ||
18 | // } | ||
19 | // }) | ||