Sha256: 11447ad5ac529c69d1ac4b6ed69e07727abd781da8b74a49266c7eeb5c7fdba6

Contents?: true

Size: 211 Bytes

Versions: 3

Compression:

Stored size: 211 Bytes

Contents

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

  def change
    add_index <%= table_str %>, <%= column_str %>, algorithm: :concurrently
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gindex-0.4.0 lib/generators/index/templates/index_migration.rb.tt
gindex-0.3.0 lib/generators/index/templates/index_migration.rb.tt
gindex-0.2.0 lib/generators/index/templates/index_migration.rb.tt