Refactor: Rename userkey --> access-token
This commit is contained in:
parent
9458245382
commit
fef3d3f300
7 changed files with 35 additions and 34 deletions
6
src/api/models/access-token.ts
Normal file
6
src/api/models/access-token.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
const collection = global.db.collection('access_tokens');
|
||||
|
||||
collection.createIndex('token');
|
||||
collection.createIndex('hash');
|
||||
|
||||
export default collection;
|
||||
Loading…
Add table
Add a link
Reference in a new issue