Sha256: aaf4c52a9fd4106532c5e9ffd657def100080687059087fff4e8090447a86772

Contents?: true

Size: 241 Bytes

Versions: 1

Compression:

Stored size: 241 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version %>
  disable_ddl_transaction!

  def change
    add_index <%= table.to_sym.inspect %>, <%= columns.map(&:to_sym).inspect %>, algorithm: :concurrently
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gindex-0.1.2 lib/generators/index/templates/index_migration.rb