Start moving from SQL to New Funny ORM

This commit is contained in:
Cadence Ember
2023-09-14 12:32:27 +12:00
parent cab96cbc9e
commit 4e1e590c3a
8 changed files with 298 additions and 22 deletions

View File

@@ -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 => {