Sha256: 8e1f87239fe83d89ff566f1ec09f0a6d5a9249b9130429b77fb8e1db93e1148d

Contents?: true

Size: 728 Bytes

Versions: 3

Compression:

Stored size: 728 Bytes

Contents

<div id="main">
  <div class="block" id="block-tables">
    <div class="content rounded">          
      <h2 class="title">Missing Index Report</h2>
      <div class="inner">
        <p>It is recommended that all foreign keys be indexed.</p>  
        <p>
          Given below is the migration code that should be performed to create index.  
        </p>
        
        <table id='missing_index'>
          <% @indexes.each do |table, columns|
            columns.map do |column| %>
              <tr>
                <td>
                  add_index '<%=table%>', '<%=column%>'
                </td>
              </tr>
            <% end %>
          <% end %>
        </table>  

      </div>
    </div>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
admin_data-1.0.2 app/views/admin_data/diagnostic/missing_index.html.erb
admin_data-1.0.1 app/views/admin_data/diagnostic/missing_index.html.erb
admin_data-1.0.0 app/views/admin_data/diagnostic/missing_index.html.erb