Sha256: 091ebc065de00ebf6b1b527c746a68983d4e0876dd940c8e69d8a57b534abbe6

Contents?: true

Size: 355 Bytes

Versions: 10

Compression:

Stored size: 355 Bytes

Contents

class AddMirrorOnSyncToRepositories < ActiveRecord::Migration[4.2]
  class RepositoryMirrorOnSync < ApplicationRecord
    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

10 entries across 10 versions & 1 rubygems

Version Path
katello-4.14.2 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-4.15.0 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-4.15.0.rc2 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-4.15.0.rc1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-4.14.1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-4.14.0 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-4.14.0.rc3 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-4.14.0.rc2 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-4.14.0.rc1.1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb
katello-4.14.0.rc1 db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb