class NdrDevSupport::RakeCI::CommitCop::ModifiedMigration
This cop checks for modified migrations
Public Instance Methods
Source
# File lib/ndr_dev_support/rake_ci/commit_cop/modified_migration.rb, line 10 def check(changes) return if changes[:modified].none?(&migration_file?) attachment(:danger, 'Modified Migration', 'Migrations should not be modified. Create another migration.') end