adonis-fullstack-app/database/factory.js
2017-08-20 22:39:25 +05:30

23 lines
492 B
JavaScript

'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.
|
*/
const Factory = use('Factory')
/**
Factory.blueprint('App/Models/User', (faker) => {
return {
username: faker.username()
}
})
*/