janko / rodauth-rails

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

Don't use enable_extension under Sequel, which doesn't support it #117

Closed Empact closed 2 years ago

Empact commented 2 years ago

As noted here:

It's trivial to use run "CREATE EXTENSION citext" in your migration if you want to add the extension. https://github.com/jeremyevans/sequel/pull/819#issuecomment-43821533

Note enable_extension uses "IF NOT EXISTS", as per: https://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#method-i-enable_extension

janko commented 2 years ago

Thanks for the fix 👍🏻