• Kamil Trzciński's avatar
    Strong validate used config names in `database.yml` · 21f8aace
    Kamil Trzciński authored
    This achieves a few goals:
    
    - ensures that only `main`, `ci` can be used
    - ensures that no `replica: true` is used
    - ensures that legacy config is properly transformed
      to use `main:`
    - validate that `main:` is a first entry in a hash
    21f8aace
legacy_database_config.rb 1.52 KB