annotate db/migrate/20121026002032_add_enumerations_position_name.rb @ 1480:75fd8eace091 issue_556

Close obsolete branch issue_556
author Chris Cannam
date Sat, 13 Jul 2013 15:26:30 +0100
parents 433d4f72a19b
children
rev   line source
Chris@1115 1 class AddEnumerationsPositionName < ActiveRecord::Migration
Chris@1115 2 def up
Chris@1115 3 add_column :enumerations, :position_name, :string, :limit => 30
Chris@1115 4 end
Chris@1115 5
Chris@1115 6 def down
Chris@1115 7 remove_column :enumerations, :position_name
Chris@1115 8 end
Chris@1115 9 end