Sha256: d6e8c0e100cecf1d4158d2cfc4e9af9722472daa8e21fec2f54e66d69669fbb3

Contents?: true

Size: 804 Bytes

Versions: 16

Compression:

Stored size: 804 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).
#
# Examples:
#
#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
#   Mayor.create(name: 'Emanuel', city: cities.first)

#--- load 
DmCore::Engine.load_seed

#--- Creates a sysadmin role, that spans all site/accounts
Role.unscoped.create!(name: 'sysadmin', account_id: 0)

puts "---------------------------------------------------------------------------------"
puts " Successfully loaded initial data."
puts " You should now run 'rake dm_core:create_site' to create the first site and user"
puts "---------------------------------------------------------------------------------"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dm_cms-4.2.3.10 spec/dummy/db/seeds.rb
dm_cms-4.2.3.9 spec/dummy/db/seeds.rb
dm_cms-4.2.3.8 spec/dummy/db/seeds.rb
dm_cms-4.2.3.7 spec/dummy/db/seeds.rb
dm_cms-4.2.3.6 spec/dummy/db/seeds.rb
dm_cms-4.2.3.5 spec/dummy/db/seeds.rb
dm_cms-4.2.3.4 spec/dummy/db/seeds.rb
dm_cms-4.2.3.3 spec/dummy/db/seeds.rb
dm_cms-4.2.3.2 spec/dummy/db/seeds.rb
dm_cms-4.2.3.1 spec/dummy/db/seeds.rb
dm_cms-4.2.3 spec/dummy/db/seeds.rb
dm_cms-4.2.2.3 spec/dummy/db/seeds.rb
dm_cms-4.2.2.2 spec/dummy/db/seeds.rb
dm_cms-4.2.2.1 spec/dummy/db/seeds.rb
dm_cms-4.2.2 spec/dummy/db/seeds.rb
dm_cms-4.2.1.5 spec/dummy/db/seeds.rb