summaryrefslogtreecommitdiffstats
path: root/db/migrate/20121026002032_add_enumerations_position_name.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20121026002032_add_enumerations_position_name.rb')
-rw-r--r--db/migrate/20121026002032_add_enumerations_position_name.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20121026002032_add_enumerations_position_name.rb b/db/migrate/20121026002032_add_enumerations_position_name.rb
new file mode 100644
index 000000000..52cbe08eb
--- /dev/null
+++ b/db/migrate/20121026002032_add_enumerations_position_name.rb
@@ -0,0 +1,9 @@
+class AddEnumerationsPositionName < ActiveRecord::Migration
+ def up
+ add_column :enumerations, :position_name, :string, :limit => 30
+ end
+
+ def down
+ remove_column :enumerations, :position_name
+ end
+end