mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 12:01:23 +01:00
Set status of existing versions to 'open' (#4504).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3259 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
class AddVersionsStatus < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :versions, :status, :string, :default => 'open'
|
||||
Version.update_all("status = 'open'")
|
||||
end
|
||||
|
||||
def self.down
|
||||
|
||||
Reference in New Issue
Block a user