models initialization refactored, better dev experience as backend hmr is working

This commit is contained in:
lesion
2022-12-23 01:08:14 +01:00
parent 380eaa87ca
commit cbed0288fe
43 changed files with 624 additions and 707 deletions

View File

@@ -1,5 +1,5 @@
const Place = require('../models/place')
const Event = require('../models/event')
const { Place, Event } = require('../models/models')
const eventController = require('./event')
const exportController = require('./export')