Commit aa25539987d1515422683825b9d6f22748c2dc7f

Authored by Larissa Reis
1 parent fd4ced10

removes trailing whitespaces

plugins/custom_forms/db/migrate/20131107050913_add_position_to_field_and_alternatives.rb
... ... @@ -2,11 +2,11 @@ class AddPositionToFieldAndAlternatives < ActiveRecord::Migration
2 2 def self.up
3 3 change_table :custom_forms_plugin_fields do |t|
4 4 t.integer :position, :default => 0
5   - end
  5 + end
6 6  
7 7 change_table :custom_forms_plugin_alternatives do |t|
8 8 t.integer :position, :default => 0
9   - end
  9 + end
10 10  
11 11 CustomFormsPlugin::Field.find_each do |f|
12 12 f.position = f.id
... ... @@ -22,10 +22,10 @@ class AddPositionToFieldAndAlternatives < ActiveRecord::Migration
22 22 def self.down
23 23 change_table :custom_forms_plugin_fields do |t|
24 24 t.remove :position
25   - end
  25 + end
26 26  
27 27 change_table :custom_forms_plugin_alternatives do |t|
28 28 t.remove :position
29   - end
  29 + end
30 30 end
31 31 end
... ...