Sha256: 14d280bd1c44d157ee3f5d95974066c76eb4d758ca5b99d9bd977cae5d77a136

Contents?: true

Size: 350 Bytes

Versions: 37

Compression:

Stored size: 350 Bytes

Contents

class AddMirrorOnSyncToRepositories < ActiveRecord::Migration
  class RepositoryMirrorOnSync < ActiveRecord::Base
    self.table_name = "katello_repositories"
  end
  def change
    add_column :katello_repositories, :mirror_on_sync, :boolean, :default => true, :null => false
    RepositoryMirrorOnSync.update_all(:mirror_on_sync => false)
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
katello-3.4.5 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.4.4 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.4.2 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.4.1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.4.0.2 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.4.0.1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.3.2 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.4.0 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.4.0.rc2 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.4.0.rc1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.3.1.1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.3.1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.3.0.1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.3.0 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.3.0.rc2 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.3.0.rc1.1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.3.0.rc1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.2.1.1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.2.1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-3.2.0 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb