aboutsummaryrefslogtreecommitdiff
path: root/db/seeds.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/seeds.rb')
-rw-r--r--db/seeds.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index 3ee3a11..8a4c670 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -16,3 +16,13 @@
Agent.find_or_create_by(name: agent_name, uuid: uuid)
end
+dewey = Agent.find_by(uuid: '6347f151-6782-437c-8bae-55730672a76f') or die('Dewey Agent should be available by now!')
+
+# Create a default taxonomy
+Taxonomy.find_or_create_by(
+ name: 'Dewey Maps Taxonomy',
+ summary: 'Original taxonomy used in Belgique, Mode d\'Emploi',
+ description: '## Dewey Maps Taxonomy',
+ uuid: '2519915f-d19c-4281-b758-f5ddb889d7fa',
+ agent_id: dewey.id
+)