Skip to content
  • Georges Racinet's avatar
    Merged heptapod-stable branch into heptapod with adaptation · 39459d927aff
    Georges Racinet authored
    There is now something in RSpec tests that fails if a migration
    has `change` instead of `up/down`.
    
    (from https://foss.heptapod.net/heptapod/heptapod-tests/-/jobs/2464665):
    
    ```
         # --- Caused by: ---
         # ActiveRecord::IrreversibleMigration:
         #
         #
         #   This migration uses execute, which is not automatically reversible.
         #   To make the migration reversible you can either:
         #   1. Define #up and #down methods in place of the #change method.
         #   2. Use the #reversible method to define reversible behavior.
         #   ./db/post_migrate/20240704182900_heptapod_fix_application_settings_documentation_url.rb:8:in `change'
    ```
    39459d927aff