method

check_target_version

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: DatabaseTasks
check_target_version() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/tasks/database_tasks.rb, line 290
      def check_target_version
        if target_version && !Migration.valid_version_format?(ENV["VERSION"])
          raise "Invalid format of target version: `VERSION=#{ENV['VERSION']}`"
        end
      end
Register or log in to add new notes.