Commit 6c14ec7a5f66e6f186436661393ff02f49354a6c

Authored by Braulio Bhavamitra
1 parent f14d60bf

Add acronym and abreation to category

This allow category to show differently and more adequate in some
places (i.e, states acronyms in faceted search)
db/migrate/20110810123648_add_acronym_and_abbreviation_to_category.rb 0 → 100644
... ... @@ -0,0 +1,11 @@
  1 +class AddAcronymAndAbbreviationToCategory < ActiveRecord::Migration
  2 + def self.up
  3 + add_column :categories, :acronym, :string
  4 + add_column :categories, :abbreviation, :string
  5 + end
  6 +
  7 + def self.down
  8 + remove_column :categories, :abbreviation
  9 + remove_column :categories, :acronym
  10 + end
  11 +end
... ...