adonisjs / core

AdonisJS is a TypeScript-first web framework for building web apps and API servers. It comes with support for testing, modern tooling, an ecosystem of official packages, and more.

Home Page:https://adonisjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i cant use String for accessTokens id

mohamadlounnas opened this issue · comments

Package version

v6

Describe the bug

i wanna use cuid() for accessTokens table id, i can change the schema but there is no way to set it so its throw error

Reproduction repo

No response

any updates?

Not something I am ready to support right now. You can instead use UUID's and rely on your Database to generate them for you. Client first ids cannot be supported for now.