Closed kinsomicrote closed 7 months ago
Unless other specified, Rodauth assumes the status column is called status_id
. Because I found the default setup with a separate account_statuses
table inconvenient for Rails apps, in rodauth-rails I set account_status_column :status
in default configuration and have it be a normal integer column (without a foreign key constraint). You probably removed that line when doing changes to the default configuration.
Correct! Thanks!
Hello :wave:
I want to use the gem in an API I'm working on. I followed the setup guide to make use of
JSON
. I intend to make use of the:email_auth
option. So, I have this as my config;The
RodauthBase
looks like this;When I make a request to
/email-auth-request
, I get the error;I don't know where this is coming from. In the migrations generated, no column is called;
status_id
and nostatuses
table.What might I be doing wrong?