projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix comment.
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20140714184006_empty_collection.rb
diff --git
a/services/api/db/migrate/20140714184006_empty_collection.rb
b/services/api/db/migrate/20140714184006_empty_collection.rb
index 2afd582245807faf42f0fc437e94d93b472f682a..0c0eba6bdf9281ca209f24b795c6ea9f15a52d59 100644
(file)
--- a/
services/api/db/migrate/20140714184006_empty_collection.rb
+++ b/
services/api/db/migrate/20140714184006_empty_collection.rb
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
class EmptyCollection < ActiveRecord::Migration
include CurrentApiClient
class EmptyCollection < ActiveRecord::Migration
include CurrentApiClient
@@
-6,8
+10,7
@@
class EmptyCollection < ActiveRecord::Migration
end
def down
end
def down
- act_as_system_user do
- empty_collection.destroy
- end
+ # do nothing when migrating down (having the empty collection
+ # and a permission link for it is harmless)
end
end
end
end