Remove occurrences of Setting.* seeding

This commit is contained in:
Karl Erik Õunapuu 2020-08-12 10:46:12 +03:00
parent 7de2ed4aed
commit ee602db93b

View file

@ -71,10 +71,7 @@ ActiveRecord::Base.transaction do
country_code: 'EE', country_code: 'EE',
roles: ['admin'] roles: ['admin']
) )
# Required for creating registrar
Setting.where(var: 'registry_vat_prc').first_or_create(
value: '0.2'
)
# First registrar # First registrar
Registrar.where(name: 'Registrar First').first_or_create!( Registrar.where(name: 'Registrar First').first_or_create!(
name: 'Registrar First', name: 'Registrar First',