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

6 lines
97 B
JavaScript
Raw Normal View History

2020-05-18 17:22:09 +02:00
const { v4 } = require("uuid")
2021-05-03 09:31:09 +02:00
module.exports = function () {
2020-05-18 17:22:09 +02:00
return v4().replace(/-/g, "")
}