janko / rodauth-rails

Rails integration for Rodauth authentication framework
https://github.com/jeremyevans/rodauth
MIT License
565 stars 40 forks source link

Generator to install rodauth using alternative accounts_table #194

Closed bekicot closed 1 year ago

bekicot commented 1 year ago

running

rails g rodauth:install users

should generate rodauth migrations, model, and configurations that works with users table.

janko commented 1 year ago

Thanks for the suggestion. This might be possible for the initial rodauth:install run, but how would this work for any subsequent rodauth:migration runs? It would have to inject *_table declarations into the Rodauth configuration, but how would it know where it should do that? If I would introduce this feature, it would have to be all the way.

janko commented 1 year ago

I will close this, because GitHub Issues are reserved for bug reports, discussions and feature requests should be posted on Discussions.