Skip to content

account_activity_times error #146

Answered by janko
a14guguliye asked this question in Q&A
Discussion options

You must be logged in to vote

It's not true that tables for all other features are generated (e.g. MFA tables aren't), the install generator creates tables only for features that are enabled by default. Enabling all features would be overwhelming for the user, and wouldn't be a good default, and as a result it doesn't make sense to generate tables for unused features.

Your migration code doesn't work because you've copied Sequel migration syntax, which differs greatly from Active Record's. The migration generator will create the table using Active Record syntax:

$ rails g rodauth:migration account_expiration
$ rails db:migrate

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@a14guguliye
Comment options

@janko
Comment options

Answer selected by a14guguliye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants