Sha256: 43e9f692725c04d17535828dc5f206ea8e307a36a21eaea0239a3f469fb60d40

Contents?: true

Size: 237 Bytes

Versions: 1

Compression:

Stored size: 237 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration
  def up
    # nop update that hopefully triggers the TRIGGER to update the vector
    execute %Q{UPDATE <%=table_name%> set updated_at = updated_at}
  end
  def down
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
search_steroids-0.0.1 lib/generators/enable_tsearch/templates/populate_vector_migration.rb