Sha256: 0a19e076b0dbe9fe0a758cd4e119e7edbf12a8530e880c5fee65929333ec6cb7

Contents?: true

Size: 1.25 KB

Versions: 8

Compression:

Stored size: 1.25 KB

Contents

<table id="func_add_index" border="0" style="margin-left:2em;">
  <tr>
    <th>Func</th>
    <th>Table</th>
    <th>Columns</th>
    <% MigrationDefs::IndexOption::Description.each_key do |key| %>
      <th><%= key %></th>
    <% end %>
    <th>delete</th>
  </tr>
  <tr>
    <td><%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][name]', 'add_index', :readonly => true %></td>
    <td><%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][table_name]', @migration_func.name, :readonly => true %></td>
    <td><%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][columns]', @migration_func.columns %></td>
    <td><%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][index_name]', !@migration_func.option.nil? ? @migration_func.option.name : "" %></td>
    <td><%= check_box_tag '[methods][' + @migration_method.name + '][funcs][][unique]', true, !@migration_func.option.nil? ? @migration_func.option.unique : "" %></td>
    <td><%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][length]', !@migration_func.option.nil? ? @migration_func.option.length : "" %></td>
    <td><%= check_box_tag '[methods][' + @migration_method.name + '][funcs][][delete]', true, false %></td>
  </tr>
</table>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
visual_migrate-4.1.7.0 app/views/layouts/visual_migrate/_func_add_index.html.erb
visual_migrate-4.1.0.0 app/views/layouts/visual_migrate/_func_add_index.html.erb
visual_migrate-4.0.2.0 app/views/layouts/visual_migrate/_func_add_index.html.erb
visual_migrate-4.0.1.6 app/views/layouts/visual_migrate/_func_add_index.html.erb
visual_migrate-4.0.1.5 app/views/layouts/visual_migrate/_func_add_index.html.erb
visual_migrate-4.0.1.4 app/views/layouts/visual_migrate/_func_add_index.html.erb
visual_migrate-4.0.1.3 app/views/layouts/visual_migrate/_func_add_index.html.erb
visual_migrate-4.0.1.2 app/views/layouts/visual_migrate/_func_add_index.html.erb