budibase/packages/server/src/db/newid.js

6 lines
97 B
JavaScript

const { v4 } = require("uuid")
module.exports = function () {
return v4().replace(/-/g, "")
}