summaryrefslogtreecommitdiffstats
path: root/db/migrate/20091108092559_add_versions_status.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20091108092559_add_versions_status.rb')
-rw-r--r--db/migrate/20091108092559_add_versions_status.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20091108092559_add_versions_status.rb b/db/migrate/20091108092559_add_versions_status.rb
index d71d490af..99f5f5a0e 100644
--- a/db/migrate/20091108092559_add_versions_status.rb
+++ b/db/migrate/20091108092559_add_versions_status.rb
@@ -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