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 postgres adapter and the `structure_load_flags` options, the
extra flags were appended instead of prepended to the default ones,
causing the `psql` command to ignore some of the extra flags.
Now, the default arguments `args` are appended to the `extra_flags`
instead of the opposite.
Example of `extra_flags` that were ignored by postgres:
ActiveRecord::Tasks::DatabaseTasks.structure_load_flags = ['-c', 'SET my_extension.level=off;'].freeze
Now, they will be taken into account.
0 commit comments