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.24.15 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.14 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.13 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.12 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.11 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.10 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.9 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.8 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.7 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.6 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.5 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.4 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.3 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.2 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.1 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.24.0 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.23.7 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.23.6 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.23.5 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb
six-updater-web-0.23.4 lib/six-updater-web/db/migrate/20090928163558_change_columns_repositories.rb