You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the pg_enum plugin the enum create statements aren't included in the schema.rb file which causes errors when restoring the database from the schema file on a fresh database.
# Migration fileSequel.extension:pg_enumSequel.migrationdochangedoextension:pg_enumcreate_enum:some_enum,%w(foobar)create_table:some_tabledoprimary_key:some_table_idsome_enum:some_enumendend# Schema dumpSequel.migrationdochangedocreate_table(:some_table)doprimary_key:some_table_idcolumn:some_enum,"some_enum"endendSequel.migrationdochangedoself << "SET search_path TO \"$user\", public"self << "INSERT INTO \"schema_migrations\" (\"filename\") VALUES ('migration.rb')"endend
edit: this might be a Sequel issue so I've posted on their mailing list. But I wanted to bring it up here as well.
The text was updated successfully, but these errors were encountered:
When using the pg_enum plugin the enum create statements aren't included in the schema.rb file which causes errors when restoring the database from the schema file on a fresh database.
edit: this might be a Sequel issue so I've posted on their mailing list. But I wanted to bring it up here as well.
The text was updated successfully, but these errors were encountered: