forked from jmug/cactoide
feat: implement psql and improvements
This commit is contained in:
5
src/lib/generateUserId.ts
Normal file
5
src/lib/generateUserId.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const generateUserId = () => {
|
||||
const userId = 'user_' + Date.now() + '_' + Math.random().toString(36).substr(2, 9);
|
||||
|
||||
return userId;
|
||||
};
|
||||
Reference in New Issue
Block a user