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