13561: Add missing copyright notices on migrations
[arvados.git] / services / api / db / migrate / 20150512193020_read_only_on_keep_services.rb
index 1778b075d32da0321f6268aa4efc823956a48e21..a510c16ccde9bdf4577be7e9949a36b8407d27b1 100644 (file)
@@ -1,9 +1,9 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 class ReadOnlyOnKeepServices < ActiveRecord::Migration
-  def up
+  def change
     add_column :keep_services, :read_only, :boolean, null: false, default: false
   end
-
-  def down
-    remove_column :keep_services, :read_only
-  end
 end