HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Redmine-4.x/redmine-4.2.9/db/migrate/20151031095005_add_projects_default_version_id.rb
class AddProjectsDefaultVersionId < ActiveRecord::Migration[4.2]
  def self.up
    # Don't try to add the column if redmine_default_version plugin was used
    unless column_exists?(:projects, :default_version_id, :integer)
      add_column :projects, :default_version_id, :integer, :default => nil
    end
  end

  def self.down
    remove_column :projects, :default_version_id
  end
end