Merge branch '3021-leave-api-running' refs #3021
[arvados.git] / services / api / db / migrate / 20140627210837_anonymous_group.rb
1 class AnonymousGroup < ActiveRecord::Migration
2   include CurrentApiClient
3
4   def up
5     # create the anonymous group and user
6     anonymous_group
7     anonymous_user
8   end
9
10   def down
11     act_as_system_user do
12       anonymous_user.destroy
13       anonymous_group.destroy
14     end
15   end
16
17 end