Currently when I try to delete user I get error:
ERROR: update or delete on table "users" violates foreign key constraint "tokens_user_id_foreign" on table "tokens"
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? 🤔