fix migration by updating schema cache

pull/11495/head
Markus Kahl 2 years ago committed by Oliver Günther
parent 3b2b5d8d1a
commit d48b149bfe
  1. 2
      modules/storages/db/migrate/20220712165928_add_storages_permissions_to_roles.rb

@ -30,6 +30,8 @@ require Rails.root.join('db/migrate/migration_utils/permission_adder')
class AddStoragesPermissionsToRoles < ActiveRecord::Migration[6.1]
def up
Role.reset_column_information
::Migration::MigrationUtils::PermissionAdder
.add(:select_project_modules,
:manage_storages_in_project)

Loading…
Cancel
Save