Sha256: 2bfab95e795b450fcb05ef7941956774691e503f9c12c365f306ce138e46e162

Contents?: true

Size: 460 Bytes

Versions: 28

Compression:

Stored size: 460 Bytes

Contents

# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# !!! PLEASE KEEP THIS SCRIPT IDEMPOTENT !!!
#

if Location.exists? && !Location.default_location
  # Create a new location to be used as the Katello Default.
  Location.create!(:name => "Default Location") do |loc|
    loc.katello_default = true
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
katello-3.3.2 db/seeds.d/101-locations.rb
katello-3.3.1.1 db/seeds.d/101-locations.rb
katello-3.3.1 db/seeds.d/101-locations.rb
katello-3.3.0.1 db/seeds.d/101-locations.rb
katello-3.3.0 db/seeds.d/101-locations.rb
katello-3.3.0.rc2 db/seeds.d/101-locations.rb
katello-3.3.0.rc1.1 db/seeds.d/101-locations.rb
katello-3.3.0.rc1 db/seeds.d/101-locations.rb
katello-3.2.1.1 db/seeds.d/101-locations.rb
katello-3.2.1 db/seeds.d/101-locations.rb
katello-3.2.0 db/seeds.d/101-locations.rb
katello-3.2.0.rc3 db/seeds.d/101-locations.rb
katello-3.2.0.rc2 db/seeds.d/101-locations.rb
katello-3.2.0.rc1.1 db/seeds.d/101-locations.rb
katello-3.2.0.rc1 db/seeds.d/101-locations.rb
katello-3.1.0.1 db/seeds.d/101-locations.rb
katello-3.1.0 db/seeds.d/101-locations.rb
katello-3.1.0.rc2.1 db/seeds.d/101-locations.rb
katello-3.0.2 db/seeds.d/101-locations.rb
katello-3.1.0.rc1 db/seeds.d/101-locations.rb