Sha256: 6a725a19f67c97701448676986dea4e7dedaf386a5bc563559a5dce0a8004bd8

Contents?: true

Size: 291 Bytes

Versions: 96

Compression:

Stored size: 291 Bytes

Contents

class ChangeColumnsRepositories < ActiveRecord::Migration
  def self.up
    add_column :repositories, :disabled, :boolean
    add_column :repositories, :favorite, :boolean
  end

  def self.down
    remove_column :repositories, :disabled
    remove_column :repositories, :favorite
  end
end

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
six-updater-web-0.23.3 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.23.2 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.23.1 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.23.0 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.22.4 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.22.3 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.22.2 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.22.1 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.22.0 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.21.6 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.21.5 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.21.4 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.21.3 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.21.2 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.21.1 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.21.0 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.20.8 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.20.7 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.20.5 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.20.4 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb