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

6 lines
96 B
JavaScript

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