2411: Add copyright notices to everything.
[arvados.git] / services / api / db / migrate / 20140325175653_remove_kind_columns.rb
index d77130d5c2cf3ae477bc729a7fb9ff15de045a2e..b4085ba92eb5c0af384abdfc04eff45086fb7340 100644 (file)
@@ -1,16 +1,20 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 class RemoveKindColumns < ActiveRecord::Migration
   include CurrentApiClient
 
   def up
     remove_column :links, :head_kind
     remove_column :links, :tail_kind
-    remove_column :log, :object_kind
+    remove_column :logs, :object_kind
   end
 
   def down
     add_column :links, :head_kind, :string
     add_column :links, :tail_kind, :string
-    add_column :log, :object_kind, :string
+    add_column :logs, :object_kind, :string
 
     act_as_system_user do
       Link.all.each do |l|