<%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][name]', 'add_column', :readonly => true %> |
<%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][table_name]', @migration_func.name, :readonly => true %> |
<%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][column]', !@migration_func.column.nil? ? @migration_func.column.name : '' %> |
<%= type_select '[methods][' + @migration_method.name + '][funcs][][type]', !@migration_func.column.nil? ? @migration_func.column.type : '' %> |
<%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][limit]', !@migration_func.column.nil? && !@migration_func.column.option.nil? ? @migration_func.column.option.limit : "" %> |
<%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][default]', !@migration_func.column.nil? && !@migration_func.column.option.nil? ? @migration_func.column.option.default : "" %> |
<%= check_box_tag '[methods][' + @migration_method.name + '][funcs][][null]', true, !@migration_func.column.nil? && !@migration_func.column.option.nil? ? @migration_func.column.option.null : "" %> |
<%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][precision]', !@migration_func.column.nil? && !@migration_func.column.option.nil? ? @migration_func.column.option.precision : "" %> |
<%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][scale]', !@migration_func.column.nil? && !@migration_func.column.option.nil? ? @migration_func.column.option.scale : "" %> |
<%= check_box_tag '[methods][' + @migration_method.name + '][funcs][][delete]', true, false %> |