X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/43773cb247a1fb744b57070b715bfa5d53a00822..4e05647f7a5b3971771c5a928634c6b2a41aa591:/services/api/db/seeds.rb diff --git a/services/api/db/seeds.rb b/services/api/db/seeds.rb index d34dfa024d..1f17bc84e6 100644 --- a/services/api/db/seeds.rb +++ b/services/api/db/seeds.rb @@ -1,7 +1,9 @@ -# 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 the system user and group objects on +# demand later anyway, but it's better form to create them up front. +include CurrentApiClient +system_user +system_group