diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-08 16:59:55 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-08 16:59:55 +0200 |
commit | 00ac912be46d858379fb5685b7290fe8d60001ef (patch) | |
tree | 6eb7c1cb2e75d58f40d41479267dfa2e381c678f /db/seeds.rb | |
parent | 12cd55048f1357a3e3dc384db37b9f4edb6819d7 (diff) | |
parent | 8f691b566ffbc79f1d2d7a3f67d8607cc03a789c (diff) | |
download | incommon-map-00ac912be46d858379fb5685b7290fe8d60001ef.tar.gz |
Merge branch 'taxonomies'
Diffstat (limited to 'db/seeds.rb')
-rw-r--r-- | db/seeds.rb | 10 |
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 +) |