Sha256: 1dac62f246db05208fe485c81ac9e29bfd3725934dd9940eaac6d3bfc60d2415
Contents?: true
Size: 345 Bytes
Versions: 16
Compression:
Stored size: 345 Bytes
Contents
class AddDescriptionToTaxons < ActiveRecord::Migration def self.up # skip this migration if the attribute already exists because of advanced taxon extension return if Taxon.new.respond_to? :description add_column :taxons, :description, :text end def self.down remove_column :taxons, :description end end
Version data entries
16 entries across 16 versions & 3 rubygems