You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
418 B
15 lines
418 B
const SeedAPIData = require('./app/SeedAPIData.patch')
|
|
const SeedWeeklyPlayerData = require('./app/SeedWeeklyPlayerData.patch')
|
|
|
|
/**
|
|
* Helper function for seeding the initial database data.
|
|
* @type {exports}
|
|
*/
|
|
module.exports = exports = async function(di) {
|
|
const api_patch = di.make(SeedAPIData)
|
|
await api_patch.run()
|
|
|
|
const player_patch = di.make(SeedWeeklyPlayerData)
|
|
await player_patch.run()
|
|
}
|