mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Merged r3259 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3260 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ba98197637
commit
a8be47295a
@ -1,6 +1,7 @@
|
|||||||
class AddVersionsStatus < ActiveRecord::Migration
|
class AddVersionsStatus < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
add_column :versions, :status, :string, :default => 'open'
|
add_column :versions, :status, :string, :default => 'open'
|
||||||
|
Version.update_all("status = 'open'")
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.down
|
def self.down
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user