On Fri, Feb 26, 2021 at 11:13 AM Mark Allen <[email protected]> wrote:

> Spoke a little too soon, when I move the previous code from inline @ the
> top of my migration file, into the actual gem, there's what I assume is a
> load-order issue. Seems like the gem is being loaded before
> Sequel::MigrationReverser is defined, so the reverser is not being
> updated obviously because of this condition if defined?(Sequel::
> MigrationReverser)
>

Use:

  Sequel.extension :migration

before:

  Sequel.extension :your_extension_name

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/CADGZSSdK%3DZrJQukhZ3riUScgz-6Hr13CKmgHE7buu4_YRJwqUQ%40mail.gmail.com.

Reply via email to