19993: Fix postgresql<12 incompatibility.
[arvados.git] / services / api / db / migrate / 20200914203202_public_favorites_project.rb
index 0718778ddca7315ea443b7a128b8cdfc3f85ea70..ef139aa70437f2da1bf68063904eef7fe44fabed 100644 (file)
@@ -4,7 +4,7 @@
 
 class PublicFavoritesProject < ActiveRecord::Migration[5.2]
   include CurrentApiClient
-  def change
+  def up
     act_as_system_user do
       public_project_group
       public_project_read_permission
@@ -17,4 +17,7 @@ class PublicFavoritesProject < ActiveRecord::Migration[5.2]
       end
     end
   end
+
+  def down
+  end
 end