]> source.dussan.org Git - redmine.git/commitdiff
Merged r3259 from trunk.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 29 Dec 2009 14:56:17 +0000 (14:56 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 29 Dec 2009 14:56:17 +0000 (14:56 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3260 e93f8b46-1217-0410-a6f0-8f06a7374b81

db/migrate/20091108092559_add_versions_status.rb

index d71d490af94855acf7eb1f499a513a9ec4b128d7..99f5f5a0e42aa665d417c896e7b4d1de562ea90e 100644 (file)
@@ -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