Integrate new table schema created using plugin with authentication
Hello, I have created new table schema using plugin, and now I would like to integrate and populate that table during authentication.
It might be the cas that I haven't seen required documentation on that, so link to that could also help.
Basically I have this TermsOfService table plugin:
and I have inserted this plugin in config:
Should I create hook for populating that table? If so should I create connection myself, or is there a way to do this using better-auth. Thanks!
0 Replies