Skip to content
  • Yannis Roussos's avatar
    Enforce text columns with a limit on migrations · 54d2e98d
    Yannis Roussos authored and Mayra Cabrera's avatar Mayra Cabrera committed
    - Add Migration/String cop to enforce usage of the text
      data type instead of string
    - Remove the existing Migration/AddLimitToStringColumns
      cop and its rspec tests as strings are no longer allowed
    - Add Migration/Text cop to enforce limit on text columns
    - Add rspec tests for the Migration/String and
      the Migration/Text cops
    - Disable the offenses caused by existing migrations with
      strings or texts without limits
    54d2e98d