You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
Currently when I try to delete user I get error:
I usually modify token migration to include .onDelete('CASCADE') to user and token relation in https://github.com/adonisjs/adonis-api-app/blob/master/database/migrations/1503250034280_token.js#L10
Then I don't have to worry about clearing user tokens before I delete user itself.
Perhaps it can added into blueprint(s) by default?
Or will it cause problems with some databases? 🤔
The text was updated successfully, but these errors were encountered: