diff --git a/db/migrate/20110810123648_add_acronym_and_abbreviation_to_category.rb b/db/migrate/20110810123648_add_acronym_and_abbreviation_to_category.rb new file mode 100644 index 0000000..0264834 --- /dev/null +++ b/db/migrate/20110810123648_add_acronym_and_abbreviation_to_category.rb @@ -0,0 +1,11 @@ +class AddAcronymAndAbbreviationToCategory < ActiveRecord::Migration + def self.up + add_column :categories, :acronym, :string + add_column :categories, :abbreviation, :string + end + + def self.down + remove_column :categories, :abbreviation + remove_column :categories, :acronym + end +end -- libgit2 0.21.2