Removes unused projects_count column from projects table.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2305 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
c9906480d3
commit
97e31c4026
2 files changed
+9
-6
No files matched your search
@@ -0,0 +1,9 @@
|
||||
class RemoveProjectsProjectsCount < ActiveRecord::Migration
|
||||
def self.up
|
||||
remove_column :projects, :projects_count
|
||||
end
|
||||
|
||||
def self.down
|
||||
add_column :projects, :projects_count, :integer, :default => 0
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user