diff --git a/config/seeds/contact_networks.csv b/db/data/contact_networks.csv similarity index 100% rename from config/seeds/contact_networks.csv rename to db/data/contact_networks.csv diff --git a/config/seeds/federal_subjects.csv b/db/data/federal_subjects.csv similarity index 100% rename from config/seeds/federal_subjects.csv rename to db/data/federal_subjects.csv diff --git a/config/seeds/org_unit_kinds.csv b/db/data/org_unit_kinds.csv similarity index 100% rename from config/seeds/org_unit_kinds.csv rename to db/data/org_unit_kinds.csv diff --git a/config/seeds/relation_statuses.csv b/db/data/relation_statuses.csv similarity index 100% rename from config/seeds/relation_statuses.csv rename to db/data/relation_statuses.csv diff --git a/config/seeds/relation_transitions.csv b/db/data/relation_transitions.csv similarity index 100% rename from config/seeds/relation_transitions.csv rename to db/data/relation_transitions.csv diff --git a/db/seeds.rb b/db/seeds.rb index 62809a5..0116599 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -4,7 +4,7 @@ require 'csv' def csv_foreach(filename, &block) CSV.foreach( - Rails.root.join('config', 'seeds', "#{filename}.csv"), + Rails.root.join('db', 'data', "#{filename}.csv"), col_sep: '|', &block )