diff options
Diffstat (limited to 'activerecord/test/migrations/version_check/20131219224947_migration_version_check.rb')
-rw-r--r-- | activerecord/test/migrations/version_check/20131219224947_migration_version_check.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/activerecord/test/migrations/version_check/20131219224947_migration_version_check.rb b/activerecord/test/migrations/version_check/20131219224947_migration_version_check.rb new file mode 100644 index 0000000000..91bfbbdfd1 --- /dev/null +++ b/activerecord/test/migrations/version_check/20131219224947_migration_version_check.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +class MigrationVersionCheck < ActiveRecord::Migration::Current + def self.up + raise "incorrect migration version" unless version == 20131219224947 + end + + def self.down + end +end |