Or as well, how I use the index method might be a problem. On Tuesday, 30 March 2021 at 15:22:36 UTC+2 Robert Pawlas wrote:
> Hello! > > I found problem during dumping schema with > > DB.dump_schema_migration(same_db: true) > > The problem is indexes that include Sequel function as first parameter, > are not being dumped. > > Here's sample index in create_table migration: > > Sequel.migration do > change do > create_table(:tests) do > index Sequel.function(:lower, :name), > name: :tests_unique_name_index, > unique: true > end > end > end > > What I could find until now is that this method does not load all of the > indexes from DB: > > https://github.com/jeremyevans/sequel/blob/2392145025c60d3c127bc1b921130598409f249c/lib/sequel/adapters/shared/postgres.rb#L648 > > Best regards, > > Robert > -- 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/c8dacd91-5cdf-4ff8-a798-3fb727808315n%40googlegroups.com.
