16007: Use incremental updates instead of materialized view for permissions
[arvados.git] / services / api / app / models / database_seeds.rb
index 6e7ab9b07677421ca76dcd6ddb57bc98ff8cb7a8..0fea2cf7b609e5e4fccc929e6935668d03875723 100644 (file)
@@ -2,6 +2,8 @@
 #
 # SPDX-License-Identifier: AGPL-3.0
 
+require 'refresh_permission_view'
+
 class DatabaseSeeds
   extend CurrentApiClient
   def self.install
@@ -12,5 +14,7 @@ class DatabaseSeeds
     anonymous_group_read_permission
     anonymous_user
     empty_collection
+    refresh_permission_view
+    refresh_trashed
   end
 end