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