aboutsummaryrefslogtreecommitdiffstats
path: root/database/factory.js
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-08-22 11:12:36 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-08-22 11:12:36 +0200
commitb018adf240679ec59a7344e30be39400f1ecd8af (patch)
treec076635761667dad302716b498088f1047281e46 /database/factory.js
downloadferdium-server-b018adf240679ec59a7344e30be39400f1ecd8af.tar.gz
ferdium-server-b018adf240679ec59a7344e30be39400f1ecd8af.tar.zst
ferdium-server-b018adf240679ec59a7344e30be39400f1ecd8af.zip
Initial commit
Diffstat (limited to 'database/factory.js')
-rw-r--r--database/factory.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/database/factory.js b/database/factory.js
new file mode 100644
index 0000000..16b5084
--- /dev/null
+++ b/database/factory.js
@@ -0,0 +1,21 @@
1'use strict'
2
3/*
4|--------------------------------------------------------------------------
5| Factory
6|--------------------------------------------------------------------------
7|
8| Factories are used to define blueprints for database tables or Lucid
9| models. Later you can use these blueprints to seed your database
10| with dummy data.
11|
12*/
13
14/** @type {import('@adonisjs/lucid/src/Factory')} */
15// const Factory = use('Factory')
16
17// Factory.blueprint('App/Models/User', (faker) => {
18// return {
19// username: faker.username()
20// }
21// })