Add cop that checks if add_column_with_default is used with up/down methods
Because this line is easy to miss in the docs:
This method is not reversible so you must manually define the
up
anddown
methods in your migration class.
Because this line is easy to miss in the docs:
This method is not reversible so you must manually define the
up
anddown
methods in your migration class.