jeremyevans / rodauth

Ruby's Most Advanced Authentication Framework
http://rodauth.jeremyevans.net
MIT License
1.67k stars 95 forks source link

PG::UndefinedTable: ERROR: relation "account_activity_times" does not exist #253

Closed a14guguliye closed 2 years ago

a14guguliye commented 2 years ago

Hello, While following the tutorial of rodauth i face below error No matter how hard i try, i can not solve it can someone please help? `PG::UndefinedTable: ERROR: relation "account_activity_times" does not exist LINE 1: ..._activity_at", "last_login_at", "expired_at" FROM "account_a... rodauth.load_memory # autologin remembered users

r.rodauth # route rodauth requests

rodauth.oauth_applications
rodauth.openid_configuration

`

jeremyevans commented 2 years ago

You need to create the tables in the database before you use Rodauth. Rodauth does not do that for you.

You should review:

If you have questions regarding either, please create a discussion post. Only create an issue to report a bug in the library.