• Yannis Roussos's avatar
    Enforce text columns with a limit on migrations · 54d2e98d
    Yannis Roussos authored
    - 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
20200204131831_create_daily_report_results.rb 856 Bytes