X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fb3c02b38a24cda422de95f2f8b49002b841cc72..e910d13fc5fc63a86f20be3b758c08db3d429bc6:/services/api/db/seeds.rb diff --git a/services/api/db/seeds.rb b/services/api/db/seeds.rb index d34dfa024d..d397b91bfd 100644 --- a/services/api/db/seeds.rb +++ b/services/api/db/seeds.rb @@ -1,7 +1,12 @@ -# 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). +# This file seeds the database with initial/default values. # -# Examples: -# -# cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }]) -# Mayor.create(:name => 'Emanuel', :city => cities.first) +# It is invoked by `rake db:seed` and `rake db:setup`. + +# These two methods would create these objects on demand +# later anyway, but it's better form to create them up front. +include CurrentApiClient +system_user +system_group +anonymous_group +anonymous_user +empty_collection