```ruby
class AddDownloadsToVersions < ActiveRecord::Migration
  def self.up
    add_column :versions, :downloads_count, :integer, :default => 0
  end

  def self.down
    remove_column :versions, :downloads_count, :integer
  end
end
```

Fix remove_column where a column type was given
user
```ruby
class AddDownloadsToVersions < ActiveRecord::Migration
  def self.up
    add_column :versions, :downloads_count, :integer, :default => 0
  end

  def self.down
    remove_column :versions, :downloads_count
  end
end
```
assistant