Changed the way that the migration get's triggered
This commit is contained in:
@@ -315,13 +315,6 @@ async function validate(username, password, req, reply) {
|
||||
|
||||
// Run the server!
|
||||
const start = async () => {
|
||||
try {
|
||||
await knex.migrate.latest()
|
||||
} catch (err) {
|
||||
fastify.log.error(err)
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
try {
|
||||
await fastify.listen(3000, '0.0.0.0')
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user