2017-08-20 17:09:25 +00:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Factory
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Factories are used to define blueprints for database tables or Lucid
|
|
|
|
| models. Later you can use these blueprints to seed your database
|
|
|
|
| with dummy data.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2018-09-15 07:37:07 +00:00
|
|
|
/** @type {import('@adonisjs/lucid/src/Factory')} */
|
2017-08-20 17:11:05 +00:00
|
|
|
// const Factory = use('Factory')
|
2017-08-20 17:09:25 +00:00
|
|
|
|
2018-09-15 07:37:07 +00:00
|
|
|
// Factory.blueprint('App/Models/User', (faker) => {
|
|
|
|
// return {
|
|
|
|
// username: faker.username()
|
|
|
|
// }
|
|
|
|
// })
|