Hello,

I'm running Sequel 5.6.0 and Ruby 2.5.1 and, when I try to create a 
PostgreSQL enum, using the pg_enum extension, I get the following error.

FrozenError: can't modify frozen 
#<Class:#<Sequel::Postgres::Database:0x0000560dde548d68>>
  
/usr/local/bundle/gems/sequel-5.6.0/lib/sequel/extensions/pg_enum.rb:112:in 
`parse_enum_labels'

Here is the minimum code that generates this error:

Sequel.migration do
  change do
    create_enum(:transaction_status, %w[complete pending pending_publisher])
  end
end


I'm still trying to figure out what is going on and will post more 
information if I find something.

Best,
Marcelo

-- 
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 sequel-talk+unsubscr...@googlegroups.com.
To post to this group, send email to sequel-talk@googlegroups.com.
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to