method

check_target_version

check_target_version()
public

No documentation available.

# File activerecord/lib/active_record/tasks/database_tasks.rb, line 317
      def check_target_version
        if target_version && !Migration.valid_version_format?(ENV["VERSION"])
          raise "Invalid format of target version: `VERSION=#{ENV['VERSION']}`"
        end
      end