Start moving from SQL to New Funny ORM
This commit is contained in:
4
start.js
4
start.js
@@ -19,6 +19,10 @@ passthrough.discord = discord
|
||||
const as = require("./matrix/appservice")
|
||||
passthrough.as = as
|
||||
|
||||
const orm = sync.require("./db/orm")
|
||||
passthrough.from = orm.from
|
||||
passthrough.select = orm.select
|
||||
|
||||
sync.require("./m2d/event-dispatcher")
|
||||
|
||||
discord.snow.requestHandler.on("requestError", data => {
|
||||
|
Reference in New Issue
Block a user