20230702131023_add_superapp_index_to_applications.rb 247 B

123456789
  1. # frozen_string_literal: true
  2. class AddSuperappIndexToApplications < ActiveRecord::Migration[6.1]
  3. disable_ddl_transaction!
  4. def change
  5. add_index :oauth_applications, :superapp, where: 'superapp = true', algorithm: :concurrently
  6. end
  7. end