Sha256: ef4df3fa3e57ab93677ecce7f87473f3c699d99cee732604aaebb6490bb02eda
Contents?: true
Size: 348 Bytes
Versions: 45
Compression:
Stored size: 348 Bytes
Contents
class AddDescriptionToTaxons < ActiveRecord::Migration def self.up # skip this migration if the attribute already exists because of advanced taxon extension return if column_exists?(:taxons, :description) add_column :taxons, :description, :text end def self.down remove_column :taxons, :description end end
Version data entries
45 entries across 33 versions & 8 rubygems