local Models = {}

function Models.load(module_name)
    local m = require(module_name)
    m.db:define(m)
end

return Models

local Models = {}

function Models.load(module_name)
    local m = require(module_name)
    m.db:define(m)
    return m
end

return Models

Allow modules to run in controllers.
Allow modules to run in controllers.
