I've noticed that the migration dump/load functionality doesn't appear to 
include postgres enums when using pg_enum. Is there a way to include them?

# Migration exampleSequel.extension :pg_enumSequel.migration do
  change do
    extension :pg_enum

    create_enum :some_enum, %w(foo bar)
    create_table :some_table do
      primary_key :some_table_id
      some_enum :some_enum
    endend
# schema.rbSequel.migration do
  change do
    create_table(:some_table) do
      primary_key :some_table_id
      column :some_enum, "some_enum"
    endendSequel.migration do
  change do
    self << "SET search_path TO \"$user\", public"
    self << "INSERT INTO \"schema_migrations\" (\"filename\") VALUES 
('migration.rb')"
  endend

-- 
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 post to this group, send email to [email protected].
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